A dimensionally accurate units of measurement library for the SI MKS (metre-kilogram-second) system. Suitable for calculations in classical physics.
$ dotnet add package LabApps.Units

A dimensionally accurate units of measurement library for the SI MKS (metre-kilogram-second) system. Suitable for calculations in classical physics.
Length l = 9.8.Metres();
Time t = new Time(1.0, "s");
Acceleration a = l / t / t;
$"{a}".Should().Be("9.8 m¹s⁻²");
Force f = 1.0.Tonnes() * a;
$"{f.Quantity.Amount} {f.Quantity.Unit}".Should().Be("9.8 kN");