diff --git a/addons/common/functions/fnc_numberToString.sqf b/addons/common/functions/fnc_numberToString.sqf index 797593eaea..78ba554444 100644 --- a/addons/common/functions/fnc_numberToString.sqf +++ b/addons/common/functions/fnc_numberToString.sqf @@ -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];