Erlang's matchematic is crazy: Erlang R15B03 (erts-5.9.3.1) [source] [smp:2:2] [async-threads:0] [hipe] [kernel-poll:false] Eshell V5.9.3.1 (abort with ^G) 1> 2.8 * 2800. 7839.999999999999 2> but the result should be 7840. -- Xu Yifeng