slightly improve nts function

This commit is contained in:
commy2 2015-04-06 21:09:20 +02:00
parent c1799616c7
commit 2ef05577c7

View File

@ -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];