[erlang-questions] Float multiplication behaviours

Juan Puig juan.puig.martinez@REDACTED
Mon Apr 23 19:37:48 CEST 2012


Hello there,

we are running Erlang R15B (erts-5.9). Any fact that could demonstrate the following behaviour?

(node@REDACTED)51> 1.20*100.
120.0
(node@REDACTED)49> 10.20*100.
1019.9999999999999
(node@REDACTED)50> 100.20*100.
10020.0



Juan Puig
Erlang Solutions Ltd - London
www.erlang-solutions.com



More information about the erlang-questions mailing list