BIS fnc numberText: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
Lou Montana (talk | contribs) m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ") |
||
Line 5: | Line 5: | ||
|1.00 | |1.00 | ||
|gr1 = Math | |gr1= Math | ||
|gr2 = Strings | |gr2= Strings | ||
| Convert a number into string (avoiding scientific notation). | | Convert a number into string (avoiding scientific notation). |
Revision as of 12:41, 11 April 2021
Description
- Description:
- Description needed
- Execution:
- call
- Problems:
- It is very imprecise with larger numbers. See Example 3.
- Groups:
- MathStrings
Syntax
- Syntax:
- Syntax needed
- Parameters:
- number: Number
- modulo: Number - (Optional, default 3)
- Return Value:
- Return value needed
Examples
- Example 1:
[4096] call BIS_fnc_numberText; // "4 096"
- Example 2:
[512, 1] call BIS_fnc_numberText; // "5 1 2"
- Example 3:
[999999999999] call BIS_fnc_numberText; // "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