On 7/26/07, Marcin Tyman <m.tyman / interia.pl> wrote:
> Hi,
>
> How to truncate float number after dot? I suppose it would be easy.
>
> Thank in advance
> MT
> --
> Posted via http://www.ruby-forum.com/.
>
>


irb(main):001:0> 12.68.floor
=> 12
irb(main):002:0> 12.68.ceil
=> 13

Pat