How to convert any number to float in erl_nif code?<div>Function float/1 is for the erlang version of code, but there is no this function for NIFs.</div>