public static Density KilogramPerCubicDecimeters <T>(this T value) => Density.FromKilogramPerCubicDecimeters(Convert.ToDouble(value));
public void NumberToKilogramPerCubicDecimetersTest() => Assert.Equal(Density.FromKilogramPerCubicDecimeters(2), 2.KilogramPerCubicDecimeters());