From: Mat Schaffer Date: 2006-07-14T01:32:49+09:00 Subject: Re: Negative Numbers On Jul 13, 2006, at 12:19 PM, 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. Or if you want to flip the sign, just prepend a '-': irb(main):001:0> --7 => 7 -Mat