[erlang-questions] list_to_float()

Bengt Kleberg bengt.kleberg@REDACTED
Thu Sep 4 14:48:18 CEST 2008


Greetings,

It is consistent. Integers are not floats anywhere else (that I know of)
in Erlang.


bengt

On Thu, 2008-09-04 at 13:08 +0100, Alpár Jüttner wrote:
> Hi,
> 
> I've just noticed that
> 
> 1> list_to_float("22").
> ** exception error: bad argument
>      in function  list_to_float/1
>         called as list_to_float("22")
> 
> Is this a bug or a feature?
> 
> Best regards,
> Alpar
> 
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list