Mega Code Archive

 
Categories / Ruby / Number
 

Create floating-point numbers simply by using a decimal point

# you need at least one digit in front of the decimal point puts  3.1415