BIS fnc numberText: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - " |s1=[" to " |s1= [") |
||
Line 15: | Line 15: | ||
|pr= It is very imprecise with larger numbers. See {{HashLink|#Example 3}}. It also does not work with floating point numbers. | |pr= It is very imprecise with larger numbers. See {{HashLink|#Example 3}}. It also does not work with floating point numbers. | ||
|s1=[number, modulo] call [[BIS_fnc_numberText]] | |s1= [number, modulo] call [[BIS_fnc_numberText]] | ||
|p1= number: [[Number]] | |p1= number: [[Number]] |
Revision as of 23:11, 12 July 2022
Description
- Description:
- Convert a number into string (avoiding scientific notation).
- Execution:
- call
- Problems:
- It is very imprecise with larger numbers. See Example 3. It also does not work with floating point numbers.
- Groups:
- MathStrings
Syntax
- Syntax:
- [number, modulo] call BIS_fnc_numberText
- Parameters:
- number: Number
- modulo: Number - (Optional, default 3)
- Return Value:
- String
Examples
- Example 1:
- Example 2:
- Example 3:
- Example 4:
Additional Information
- See also:
- BIS_fnc_numberDigits BIS_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