Compatible
Function |
Compatible(value)
Compatible(value A, value B)
|
Use
The Compatible() function determines if two numbers have compatible units. It returns true if the numbers are compatible, and false if they are not.
Units are compatible when they can be converted to each other, like cm and in, or lb and kg.
Examples
Compatible(2in, 30 cm) = True
Compatible(1 in, 5 lb) = False
Compatible(4, 5 rad) = True
Compatible(30 deg, 5 rpm) = False
Compatible is included by default in each file as part of the Math library.
See also: