UTIL_FormatNumber
Format number to string with a special character new iValue = random_num( 10000, 99999999 ); new szFormatedValue[16]; UTIL_FormatNumber(iValue, szFormatedValue, charsmax( szFormatedValue ) ); server_print( "Input: %i, Output: %s", iValue, szFormatedValue ); Output: Input: 82275013, Output: 82 275 013
Syntax
stock UTIL_FormatNumber(iValue, szOutput[], iLen, const szSpecialChar = ' ') {
Usage
| iValue | — |
| szOutput | — |
| iLen | — |
| szSpecialChar | — |
Defined in
reapi_stocks.inc
at line 1246
.
This documentation was automatically generated from source.