NUM$ |
"num$" transforms a number to a character string containing its decimal representation.
num$( exp_num )
|
Element |
Description |
Restrictions |
|
exp_num |
Numerical expression. |
None. |
CHAINE = num$(1.186*SOLDE)
# The next instruction will
identify the string 1e37
Infbox num$(1e37)
"num$" returns the decimal representation of a number as a character string. No space is added before or after the number; the decimal separator is still the point (unlike the result with the "format$" function).
When the argument exceeds 10^36, the display appears in scientific notation.
The result is a Char type.
|
Error |
Description |
|
ERMODE (10) |
The argument is not a numerical type. |
|
|