I have binary strings in the form of either:
<<"5.7778345">>
or
<<"444555">> >
<<"444555">>
The binary_to_term function and its counterpart term_to_binary would probably serve you well.
binary_to_term
term_to_binary