For abyssal modification range, show integer + 3 fraction digits, like CCP does
This commit is contained in:
@@ -110,3 +110,9 @@ def roundToPrec(val, prec):
|
||||
if int(val) == val:
|
||||
val = int(val)
|
||||
return val
|
||||
|
||||
|
||||
def roundDec(val, prec):
|
||||
if int(val) == val:
|
||||
return int(val)
|
||||
return round(val, prec)
|
||||
|
||||
Reference in New Issue
Block a user