Documentation >
MAC-PAC Technical Library >
Distribution >
Order Processing >
Programs >
Unit of Measure Conversion - Purpose
Unit of Measure Conversion - Purpose
Unit of Measure Conversion
The unit of measure conversion subroutine provides a conversion factor that will convert a value expressed in one unit of measure to the corresponding value expressed in another unit of measure. Common values that are converted from one unit of measure to another include quantity, price, cost , weight, and volume. The subroutine is passed a "from" unit of measure (before conversion) and a "to" unit of measure (after conversion) and passes back a conversion factor.