[futurebasic] Re: Stuff

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 1997 : Group Archive : Group : All Groups

From: wilcox <wilcox@...>
Date: Sun, 23 Nov 1997 10:15:08 -0500
>Is there a quick, one command way of changing the sign of a number... say
>from 102.092 to -102.092?

absoluteValue = ABS (-102.092). It returns the absolute value of the # you
gave it.

>I'm using a fairly simple method at the moment, but elegant it aint. I
>wouldn't want my wife or kids to see it.

I can just see it now...

"Mommy, why does Daddy code like this?..."
"I don't know Jonny... I just don't know..."

;-)

Later,
-Wilcox

[-)