method

to_f

v2_2_9 - Show latest stable - Class: Bignum
to_f()
public

Converts big to a Float. If big doesn’t fit in a Float, the result is infinity.