Creator Help


This topic describes the syntax and usage of the abs() function in Zoho Creator .


The abs function returns the absolute value of a number. The absolute value of a number is the number without its sign.




abs(<number>);   // This format is supported only in free-flow scripting mode of script builder.

The abs function syntax has the following arguments:

Number - Required. The real number (integer/decimal) of which you want the absolute value.

Return Value

Returns the absolute value of a number.


abs(2) // returns 2
abs(-2) // returns 2


2.abs() // returns 2
-2.abs() // returns 2

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: