From: Justin Collins Date: 2006-07-14T01:22:56+09:00 Subject: Re: Negative Numbers Marston A. wrote: > Hey all, > > I'm just getting started with Ruby and was wondering if there is a way > to translate negative numbers into their positive equals. i.e turning > -7 into 7. Thanks for any help. > > irb(main):001:0> -7.abs => 7 -Justin