From Bohemia Interactive Community
					 
					
					
					
					
Hover & click on the images for description
 
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:
- [4096] call BIS_fnc_numberText; 
- Example 2:
- [512, 1] call BIS_fnc_numberText; 
- Example 3:
- [999999999999] call BIS_fnc_numberText; 
- Example 4:
- [1234.5678] call BIS_fnc_numberText; 
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