From d8746a196e6422c64d8e3bd56e81b9ff1487941f Mon Sep 17 00:00:00 2001 From: Scott King Date: Wed, 15 Jan 2014 21:23:56 -0700 Subject: [PATCH] Precision change (fixed decimal issue) --- PortraitHealth.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PortraitHealth.lua b/PortraitHealth.lua index cebb9b1..452c967 100755 --- a/PortraitHealth.lua +++ b/PortraitHealth.lua @@ -70,7 +70,7 @@ function HealthPercentage() end -- reformat health without decimals - local h = string.format("%0f",TargetPercentHealth); + local h = string.format("%.0f",TargetPercentHealth); -- change the portrait to show current health if UnitIsDead("target") then -- 1.7.9.5