Parameters
- unit
- A dividend Length value.
- divisor
- A System.Single value indicating the divisor.
Return Value
A new Length value representing the quotient.
Exception | Description |
---|---|
System.DivideByZeroException | Throws if divisor is zero. |
var length = new Length("2in"); var result = Length.DivideBy(length, 2); // 1in