safeDivideFraction MethodStatic

normally, return the number result of conditionalDivideFraction. but if conditionalDivideFraction fails return specified default number.

safeDivideFraction(numerator: number, denominator: number, defaultResult: number): number

Parameter Type Description
numerator number  
denominator number  
defaultResult number  

Returns - number

Defined in

Last Updated: 11 June, 2024