num_to_word

Синтаксис

native num_to_word(num, output[], len);

Употреба

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