/// <inheritdoc cref="Torque.FromNewtonCentimeters(double?)"/> public static Torque?NewtonCentimeters(this long?value) => Torque.FromNewtonCentimeters(value);
/// <inheritdoc cref="Torque.FromNewtonCentimeters(double)"/> public static Torque NewtonCentimeters(this int value) => Torque.FromNewtonCentimeters(value);
/// <inheritdoc cref="Torque.FromNewtonCentimeters(double?)"/> public static Torque?NewtonCentimeters(this decimal?value) => Torque.FromNewtonCentimeters(value == null ? (double?)null : Convert.ToDouble(value.Value));
/// <inheritdoc cref="Torque.FromNewtonCentimeters(double)"/> public static Torque NewtonCentimeters(this decimal value) => Torque.FromNewtonCentimeters(Convert.ToDouble(value));
public void NumberToNewtonCentimetersTest() => Assert.Equal(Torque.FromNewtonCentimeters(2), 2.NewtonCentimeters());
public static Torque NewtonCentimeters <T>(this T value) => Torque.FromNewtonCentimeters(Convert.ToDecimal(value));