[erlang-questions] double to float
Sten Kvamme
sten@REDACTED
Tue Oct 16 22:32:09 CEST 2007
Yes thanks, but I have the file in a binary variable and would like
to do something like this:
{<<F/float>>,B} = split_binary(Thefile, 8),
or maybe
<<F:8/binary,B/binary>> = Thefile,
<<X/float>> = F,
/Sten
On Oct 16, 2007, at 20:43 , Vlad Dumitrescu wrote:
> <<X/float>> = <<184,162,71,68,75,65,104,64>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20071016/597818fa/attachment.htm>
More information about the erlang-questions
mailing list