Convert a value to a float if possible
The _.toFloat function will do its best to convert the given value to a float.
_.toFloat
import * as _ from 'radashi' _.toFloat(0) // => 0.0_.toFloat(null) // => 0.0_.toFloat(null, 3.33) // => 3.33