convert a floating point value to a JSONValue
Serialize a floating-point value.
assert(4.1f.toJSON == JSONValue(4.1f));
See Implementation
convert a floating point value to a JSONValue