X → Unit system Conversions
This topic provides a reference table for all automatic type conversions to unit system, sorted by merit.
Fair Conversions
This section lists all fair
conversions to the unit system type. A fair conversion indicates the types involved are closely related in a data layout sense, though not necessarily in a conceptual sense. Although these conversions may fail or narrow, it is nevertheless considered decent practice to rely upon them. Examples in this category include conversions from booleans to integers, or from curves to intervals.
| From | Explanation |
|---|---|
| integer | Creates a unit system with an integer scaling factor. |
| number | Creates a unit system with a scaling factor. |