D
Dave
Hi I'm new to ruby.
Started with learning-ruby.
In first_steps it looks at using ruby as a calculator
=> 1.5
all this I understand BUT
=> 0.0999999999999996
Should be .1
and whats more there has only been one decimal place used so the answer
should have only 1 decimal place.
another
=> 10.3359 4 decimals should only be three
Dave
Started with learning-ruby.
In first_steps it looks at using ruby as a calculator
=> 1.5
all this I understand BUT
=> 0.0999999999999996
Should be .1
and whats more there has only been one decimal place used so the answer
should have only 1 decimal place.
another
=> 10.3359 4 decimals should only be three
Dave