divzero(
NUMERATOR
,
DENOMINATOR
)

The divzero( function divides two numbers, returns zero if denominator is zero.


Parameters

This function has two parameters:

numerator – is the number you want to divide.

denominator – is the number you want to divide by.


Description

The divzero( function divides two numbers. However, unlike the / or ÷ operator, the divzero function does not return infinity if you attempt to divide by zero. If you attempt to divide by zero, this function simply returns zero.

divzero(15,3) ☞ 5
divzero(15,4) ☞ 3.75
divzero(15,0) ☞ 0

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0