Units of Measure are compile-time attributes that can be associated with numeric values, typically used to indicate length, volume, mass, and so on.
A Unit of Measure is information that can be associated with a numeric value, typically used to indicate length, volume, mass, and so on. This information is used in numerous applications ranging across engineering, science, physics, and many other disciplines.
If this information is stored as a compile-time attribute, then a compiler can verify arithmetic relationships of values across the numeric computations to have the proper units, therefore preventing programming errors.