- Fixed East Asian myriads showing a giganting non formated number in the total bar DPS.

- Added a reset nickname button in the right side of the nickname field.
- Framework and NickTag library updates.
- Removed deprecated 'feedback' button, there's Discord now.
This commit is contained in:
Tercioo
2018-12-11 11:23:05 -02:00
parent 24d5be67d2
commit 55f5caaedc
4 changed files with 25 additions and 6 deletions
+6
View File
@@ -103,6 +103,12 @@ function DF:Clamp (minValue, maxValue, value)
return value < minValue and minValue or value < maxValue and value or maxValue
end
--from http://lua-users.org/wiki/SimpleRound cut fractions on a float
function DF:Round (num, numDecimalPlaces)
local mult = 10^(numDecimalPlaces or 0)
return math.floor(num * mult + 0.5) / mult
end
function DF:ScaleBack ()
end