Using trunc function in Erlang

Matthias Lang <>
Fri Dec 30 22:15:03 CET 2005

Erlang Questions writes:
 > I was afraid about that.
 > Unfortunately, these numbers represent money in my application :o(

You could always buy an IBM mainframe with hardware support for
decimal fractions ;-)

Here's a good starting point to learn more:

in particular, there's a FAQ which describes the general case of the
particular problem you encountered:


More information about the erlang-questions mailing list