pe__unit_factor |
Retrieves the conversion factor of a unit
double pe_unit_factor (PE_UNIT unit);
unit | The unit object |
Retrieves the conversion factor of the specified unit
The conversion is either (a) number of meters per unit for linear units or (b) number of radians per unit for angular units.
On success, the unit conversion factor; on failure, zero
double x = xm*pe_unit_factor(ft);