divzeroerror(
NUMERATOR
,
DENOMINATOR
)

The divzeroerror( function divides two numbers, returns an error if the 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, instead, it returns an error.

divzero(15,3) ☞ 5
divzero(15,4) ☞ 3.75
divzero(15,0) ☞ Error: Cannot divide by zero.

See Also


History

VersionStatusNotes
10.0NewNew in this version.