Parameters
Return Value
A System.Double value indicating the quotient of the division.
Exception | Description |
---|---|
System.DivideByZeroException | Throws if unit1 or unit2 is zero. |
var length1 = new Length("2in"); var length2 = new Length("1in"); var result = Length.Divide(length1, length2); // 2