[erlang-questions] Float multiplication behaviours

Juan Puig <>
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?

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



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



More information about the erlang-questions mailing list