unit.Definition
Internal definition of one registered unit abbreviation.
Fields
| Name | Type | Description |
|---|---|---|
measure | unit.Measure | The measure this unit belongs to. |
system | unit.System | The unit system inside that measure (for example "metric"). |
to_anchor | number | Multiplier from this unit into the system's anchor unit (value * to_anchor). |
anchor_shift | number | nil | Additive shift around the system anchor; used by temperature (K, R). |