Numbers in Ruby
|
|
|
|
| Articles Reviews Ruby | |
| Written by Adi Bach | |
| Friday, 16 February 2007 | |
|
{mos_sb_discuss:50} Let's play with Numbers. In Ruby, numbers without decimal points are called integers, and numbers with decimal points are usually called floating-point numbers or, more simply, floats (you must place at least one digit before the decimal point). Here's the program rubynumbers.rb =begin
Powered by jReviews |
|
| Last Updated ( Friday, 16 February 2007 ) | |
| < Prev | Next > |
|---|







