Bernard Kenik
11/16/2006 7:30:00 PM
----- Original Message -----
From: "Dipesh Batheja" <dipesh_batheja@yahoo.com>
Newsgroups: comp.lang.ruby
To: "ruby-talk ML" <ruby-talk@ruby-lang.org>
Sent: Wednesday, November 15, 2006 10:17 AM
Subject: converting a signed float into unsigned float
>I know this is simple, but i am unable to find how to do this. I have an
> floating number and i want to convert it to unsigned floating number.
> What do i have t do.
>
fl_num = -1.456
fl_num = fl_num.abs