[erlang-questions] double to float

Vlad Dumitrescu vladdu55@REDACTED
Tue Oct 16 20:43:06 CEST 2007


Hi and welcome,

On 10/16/07, Sten Kvamme <sten@REDACTED> wrote:
> I'm reading a binary file with lots of double data types. Have
> someone already written some code to convert the double 8 bytes,
> <<184,162,71,68,75,65,104,64>> to a float?

Do you mean
   <<X/float>> = <<184,162,71,68,75,65,104,64>>
?

regards,
Vlad



More information about the erlang-questions mailing list