Page 1 of 1

Positive number to negative number

Posted: Wed Nov 12, 2003 6:07 am
by JayBird
Say i have the figure 28.35

What is the best way to make that number negative i.e. -28.35?

Thanks

Mark

Posted: Wed Nov 12, 2003 6:10 am
by twigletmac
Multiply it by -1.

Mac

Posted: Wed Nov 12, 2003 6:30 am
by JayBird
what about subtracting from 0?

Posted: Wed Nov 12, 2003 6:53 am
by twigletmac
Same effect. Personally I would use the multiplication option as it would make it clearer to me later on what I was trying to achieve. The best way would be the one that would do that for you :).

Mac