float Value
Narrow to a float.
Parameters
exact Required
if false, precision can be lost. If true, the current absolute value must be between Float.MAX_VALUE and Float.MIN_VALUE, with 7 or less digits of precision.
Throws
if exactRequired is true and any of the above conditions not met