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 closesly related in a data layout sense, though not necessarily in a conceptual sense. For example booleans and integers, or points and vectors. Although these conversions may fail or narrow, it is nevertheless considered decent practice to rely upon them in algorithms.
| From | Explanation |
|---|---|
| integer | Creates a unit system with an integer scaling factor. |
| number | Creates a unit system with a scaling factor. |