BIS fnc numberText: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Page filling) |
m (added return value) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Convert a number into string (avoiding scientific notation) |Description= | | Convert a number into string (avoiding scientific notation). It's very unprecise with larger numbers. See example 1. |Description= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 19: | Line 19: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[999999999999] [[call]] [[BIS_fnc_numberText]];</code> |Example 1= | |x1= <code>[999999999999] [[call]] [[BIS_fnc_numberText]];//Returns "909 999 995 904"</code> |Example 1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 23:12, 6 June 2018
Description
- Description:
- Convert a number into string (avoiding scientific notation). It's very unprecise 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