lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]




>Is this a feature, a bug, or again an difference in the RISC OS
>version?
>Or what I am missing?
>
>print(.456)     --> 0.456
>print(.0456)    --> 0.456   **
>print(.00456)   --> 0.0456  **
>print(.000456)  --> 0.00456 **
>
>print(0.456)    --> 0.456
>print(0.0456)   --> 0.0456
>print(0.00456)  --> 0.00456
>print(0.000456) --> 0.000456
>
>Markus

It's probably a problem in the RISC OS version of lua, because I obtain correct 
value with both Win95 and Epoc version.
-- 
Lavergne Thomas, D-12.List@wanadoo.fr on 18/04/2001