SafeDivide
|
Math functions |
SYNTAX | SafeDivide( x, y, valueifzerodiv ) |
RETURNS | NUMBER or ARRAY |
FUNCTION | Safe division that handles division by zero using special handling (replace result with user-defined value)
Parameters:
|
EXAMPLE | // normal division by (High - Low) can result in division by zero error
|
SEE ALSO |
The SafeDivide function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.