Returns A divided by B. If B is zero, then returns X. XIDZ is normally used to express some limit of A/B, as B approaches 0 (which would normally be undefined for B = 0).
Same as: IF THEN ELSE ( ABS(B) <1E-6, X, A/B )
Both XIDZ and ZIDZ actually test the absolute value of B against a small (1E-6) number and use X(0) if B is less than this small number.
Units: | XIDZ(units of A, units of B, units of A/B) --> units of A/B (i.e., same unit behavior as the division operator) |
Examples
XIDZ( 3, 4, 1) is equal to 0.75.
XIDZ( 3, 0, 1) is equal to 1.0.
See also: ZIDZ.
Sample model: XIDZ + ZIDZ.mdl in FunctionExamples