mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
slightly improve nts function
This commit is contained in:
parent
c1799616c7
commit
2ef05577c7
@ -18,6 +18,6 @@ _number = _this select 0;
|
||||
_decimals = str (_number mod 1);
|
||||
|
||||
_decimals = toArray _decimals;
|
||||
_decimals deleteRange [0,2];
|
||||
_decimals deleteAt 0;
|
||||
|
||||
format ["%1.%2", floor _number, toString _decimals];
|
||||
format ["%1%2", floor _number, toString _decimals];
|
||||
|
Loading…
Reference in New Issue
Block a user