set_default_unit_style

justunits.set_default_unit_style(unit_style: int)

Sets the default unit style. The change is limited for the current runtime.

Parameters

unit_style – Combination of UnitPowerStyle, UnitDividingStyle and UnitSeparationStyle.

Raises

ValueError – If not within justunits.UnitStyle.