BIS fnc numberText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added return value)
m (typo)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Convert a number into string (avoiding scientific notation). It's very unprecise with larger numbers. See example 1. |Description=
| Convert a number into string (avoiding scientific notation). It's very imprecise with larger numbers. See example 1. |Description=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 23:13, 6 June 2018

Hover & click on the images for description

Description

Description:
Convert a number into string (avoiding scientific notation). It's very imprecise with larger numbers. See example 1.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[number, modulo] call BIS_fnc_numberText
Parameters:
number: Number
modulo: Number - (Optional, default 3)
Return Value:
String

Examples

Example 1:
[999999999999] call BIS_fnc_numberText;//Returns "909 999 995 904"

Additional Information

See also:
BIS_fnc_numberDigitsBIS_fnc_cutDecimals

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section