BIS fnc numberDigits: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " (\|[pr][0-9]+ *= *[^-]+) *- *A([a-z])" to " $1 - a$2") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *N([a-z ])" to "$1 - n$2") |
||
Line 15: | Line 15: | ||
|s1= number call [[BIS_fnc_numberDigits]] | |s1= number call [[BIS_fnc_numberDigits]] | ||
|p1= number: [[Number]] - | |p1= number: [[Number]] - number that should be broken down. A float will be '''truncated''', not rounded | ||
|r1= [[Array]] of [[Number]]s - array of ''number'' digits | |r1= [[Array]] of [[Number]]s - array of ''number'' digits |
Latest revision as of 15:39, 8 November 2023
Description
Syntax
- Syntax:
- number call BIS_fnc_numberDigits
- Parameters:
- number: Number - number that should be broken down. A float will be truncated, not rounded
- Return Value:
- Array of Numbers - array of number digits
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- BIS_fnc_numberText 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
|
- Posted on 2018-03-20 - 21:25 (UTC)
- vabene1111
- Use this function with caution: Numbers with more than 8 digits will return wrong results