matterhorn103 / quanstants

Intuitive and unastonishing physical quantities, units, constants, and uncertainties in Python
MIT License
1 stars 0 forks source link

Some units should have no space between the number and the unit #45

Closed matterhorn103 closed 4 months ago

matterhorn103 commented 4 months ago

Units need an attribute to indicate whether or not this should apply to them. Since it isn't relevant for base units, unitless units, or compound units, nor for temperatures or logarithms, it should probably only be implemented for DerivedUnit.

The main example is degree/minute/second.

Percentage/promille etc. should also do it as users expect that. However, since that isn't SI-conform there should be an option to turn that off. Maybe there should be an STRICT_SI config variable that controls various such things.

matterhorn103 commented 4 months ago

Closed by #47