kdavies4 / natu

Natural units in Python
http://kdavies4.github.io/natu/
Other
33 stars 5 forks source link

Define the order of units within a complex unit #30

Open nagimov opened 7 years ago

nagimov commented 7 years ago
from natu import config; config.simplification_level = 0
from natu.units import J, kg, K

s = 10.0 * J/(kg*K)
s.display_unit = 'J/(kg*K)'
print(s)

gives 10 J/(K*kg). Any chance to display 10 J/(kg*K)?