Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 325 Bytes

File metadata and controls

6 lines (4 loc) · 325 Bytes

Floating point numbers

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.