num_to_word
native num_to_word(num, output[], len);
| Parameter |
Description |
| num | Integer to convert |
| output | Buffer to copy string to |
| len | Maximum buffer size |
Converts an integer to a text string.
The conversion algorithm is limited to a certain range of numbers, but
is guaranteed to work correctly for all numbers from 0 to 999. Outside
of that range, the conversion will result in an incorrect string, but
will not fail.
The conversion is to english text, there is no way to change this.
Number of cells written to buffer