{"name":"BIS_fnc_numberText","title":"BIS fnc numberText","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_numberText","revid":336883,"updated":"2023-01-04T16:43:51Z","groups":["Math","Strings"],"status":"ok","games":{"tkoh":"1.00","arma3":"0.50"},"since":"tkoh 1.00","arma3_since":"0.50","description":"Convert a number into string (avoiding scientific notation).","syntaxes":[{"syntax":"[number, modulo] call BIS_fnc_numberText","params":[{"name":"number","type":"Number","type_expr":"Number"},{"name":"modulo","type":"Number","optional":true,"default":"3","type_expr":"Number","text":"modulo: Number - (Optional, default 3)"}],"returns":{"type":"String","type_expr":"String"}}],"examples":[{"code":["[4096] call BIS_fnc_numberText; // \"4 096\""]},{"code":["[512, 1] call BIS_fnc_numberText; // \"5 1 2\""]},{"code":["[999999999999] call BIS_fnc_numberText; // \"909 999 995 904\""]},{"code":["[1234.5678] call BIS_fnc_numberText; // \"1 234\""]}],"problems":"It is very imprecise with larger numbers. See Example 3. It also does not work with floating point numbers.","see_also":["BIS_fnc_numberDigits","BIS_fnc_cutDecimals"]}