Problem getting started with Orber

Torbjorn Tornkvist tobbe@REDACTED
Sat Apr 17 02:20:09 CEST 1999


> On a side note, I was wondering how one can convert an integer to a
> float (perhaps to satasfy an overly strict guard)?  I didn't see a BIF
> for it.

Hm...I should probably also go to bed, but here 
is a quick and dirty way to do it:

 <Integer> * 1.0

For example: 4 * 1.0 => 4.0

/Tobbe



More information about the erlang-questions mailing list