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
- Geometry.ts Line 760
Last Updated: 20 June, 2023