A floating-point number is a number with zero or more digits behind the decimal separator. Examples are 4.0, 0.1, 3.14, -6.4 16.984025 and 1024.0.
In Ruby, floating-point numbers are implemented through the Float class.
A floating-point number is a number with zero or more digits behind the decimal separator. Examples are 4.0, 0.1, 3.14, -6.4 16.984025 and 1024.0.
In Ruby, floating-point numbers are implemented through the Float class.