[erlang-questions] Float multiplication behaviours

Steve Vinoski <>
Mon Apr 23 19:46:14 CEST 2012


On Mon, Apr 23, 2012 at 1:37 PM, Juan Puig
<> wrote:
> 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

http://floating-point-gui.de/

--steve



More information about the erlang-questions mailing list