Returns the absolute value of a number.

 

Short Form name: "Abs".

 

Syntax:

value = AbsoluteValue( expression )

 

Parameter:

Description:

expression

Any expression or numeric value.

 

Example:

value = AbsoluteValue( 5.6 )     ' Returns 5.6
value = AbsoluteValue( -5.6 )     ' Returns 5.6
value = AbsoluteValue( "Hello" ) ' Returns 0.
value = Abs( -1 * 45 )           ' Returns 45.

Returns:

Absolute value of expression

 

Links:

 

See Also:

Mathematical Functions

 


Edit Time: 9/25/2017 09:09:58 AM


Topic ID#: 17

 

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software