Deserialize an instance of a Float from a BSON double.
@param [ BSON ] bson The encoded double.
@return [ Float ] The decoded Float.
@see bsonspec.org/#/specification
@since 2.0.0
# File lib/bson/float.rb, line 60 def from_bson(bson) from_bson_double(bson.read(8)) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.