Paul Magnussen wrote in post #1089966:
>
> Ruby treats strings as
> objects rather than as primitives.
>

Check this out:

result = 9.5426.round 3
puts result

--output:--
9.543

-- 
Posted via http://www.ruby-forum.com/.