Typecast a value to a Float
@param [to_str, to_f] value
value to typecast
@return [Float]
Float constructed from value
@api private
[Validate]