Converts a number to a string.
STRNUM(num)
num |
- |
A real to convert to a string. |
A string.
strcat("The number ", strnum(11), "is prime")
returns: The number 11 is prime.
W1: 1..100
strcat("The mean value is ", strnum(mean(W1)))
results in: The mean value is 50.5.
strcat("The max to min difference is ", strnum(max(W1) - min(W1)))
displays: The max to min difference is 99.0.
STRNUM is a simple strinf to number convertor - think of it as "stringify a number".
See SPRINTF for a numeric conversion function offering more formatting options.
See NUM2STR to convert a real or series to a string with optional formatting.