Marc Boon wrote:
Lex Ein wrote:
I think the confusion could be avoided if zexy's [atoi] was named [atof], since that's what is is: it converts a string to a float (not to an int).
no it does not convert a string to a float. it converts a string to an integer, then converts the integer to a float and finally outputs that float.
[atof] would convert a symbol "3.14159" into a float 3.14159 [atoi] does nothing like that. it will output a float 3.0
mfg.a.sdr IOhannes