Fabs - script and chart function

Fabs() returns the absolute value of x. The result is a positive number.

Syntax:  

fabs(x)

Return data type: numeric

Examples and results:  

Examples Results

fabs( 2.4 )

Returns 2.4
fabs( -3.8 ) Returns 3.8

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?