top
examples
faq
code archives
plugins
reusable classes
code reference
tutorials
bottom
logo

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z


Abs Function


Description: Returns the absolute value of the supplied number.
Syntax: result=abs(value)
Information:
result double The absolute value of the number provided
value double The number you want the absolute value of
Notes: This function takes a number--positive or negative--and returns the positive equivilant of it.
Examples: Dim result as integer

result=abs(22.3) //result is 22.3
result=abs(-22.3) //result is 22.3







This REALbasic Webring site is owned by Adam Robinson.

Want to join the REALbasic Webring?

[Skip Prev] [Prev] [Next] [Skip Next] [Random] [