Siebel eScript Language Reference > Siebel eScript Commands > The Math Object >

Math.abs() Method


This method returns the absolute value of its parameter; it returns NaN if the parameter cannot be converted to a number.

Syntax

Math.abs(number)

Parameter
Description

number

A numeric literal or numeric variable

Returns

The absolute value of number; or NaN if number cannot be converted to a number.

Usage

This method returns the absolute value of number. If number cannot be converted to a number, it returns NaN.

Siebel eScript Language Reference