gettingstarted
[Top] [All Lists]

Re: which operator?

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: which operator?
From: Lennox Jacob <lenpartico at yahoo dot com>
Date: Mon, 31 Jul 2006 20:21:55 -0700 (PDT)
Delivered-to: listarchive at realsoftware dot com
Delivered-to: gettingstarted at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=dLDKB1oxbAXuAki1Ic6w3A4PE7Yq7fNcN6xNnrZU0ek0FwlhaCfmgOxXYvAKVJ6kIKJpZ59G/1Mpq9j97DVH7EBxx/+rRaha264f7QbpJTI4L2mS+AXcQXBc4CJNs9Y0bUqUnX+hyDXsXlh8fqwzJckomrNIbWraDZgnxUMaKNI= ;
Thanks Terry,
I checked for operators but didn't find it but now that I checked for Abs its 
there. (Abs is a function and not an operator)
Works great too.
Lennox.

Terry Ford <tmford at shaw dot ca> wrote: 
On Jul 31, 2006, at 8:04 PM, Lennox Jacob wrote:

> Hello,
> Which operator is used to give the numerical value (without sign)  
> of an integer?
> (e.g. +6 returns as 6, -6 returns as 6)

Abs  (Absolute)

 From the OLR:

Dim d as Double
d=Abs (23.9) //returns 23.9
d=Abs(-23.9) //returns 23.9

Terry



_______________________________________________
Unsubscribe or switch delivery mode:


Search the archives of this list here:



                
---------------------------------
Do you Yahoo!?
 Everyone is raving about the  all-new Yahoo! Mail Beta.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>