From: Phrogz Date: 2007-11-21T05:35:00+09:00 Subject: Re: How to Round off and Truncate in ruby On Nov 20, 1:31 pm, Surjit Nameirakpam wrote: > I am getting the truncate but the round off mentioned above doesn't work As shown above, it certainly does work. (You are looking at the actual output of typing code directly into irb and having Ruby evaluate it.) I assume your code is slightly different. Perhaps if pared it down to a test case that showed exactly your problem, we could help further.