From: Jeffrey Schwab Date: 2006-11-16T00:30:08+09:00 Subject: Re: converting a signed float into unsigned float Dipesh Batheja wrote: > 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. > irb(main):001:0> (-3.14).abs => 3.14 irb(main):002:0> 2.7.abs => 2.7