BIS_fnc_numberText

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Take On Helicopters version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Take On Helicopters
Version:
1.00

Description

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

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

Execution:
call
Multiplayer:
-
See also:
BIS_fnc_numberDigitsBIS_fnc_cutDecimals

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section