/// <inheritdoc cref="RotationalSpeed.FromCentiradiansPerSecond(double)"/> public static RotationalSpeed CentiradiansPerSecond(this decimal value) => RotationalSpeed.FromCentiradiansPerSecond(Convert.ToDouble(value));
/// <inheritdoc cref="RotationalSpeed.FromCentiradiansPerSecond(double?)"/> public static RotationalSpeed?CentiradiansPerSecond(this decimal?value) => RotationalSpeed.FromCentiradiansPerSecond(value == null ? (double?)null : Convert.ToDouble(value.Value));
/// <inheritdoc cref="RotationalSpeed.FromCentiradiansPerSecond(double?)"/> public static RotationalSpeed?CentiradiansPerSecond(this float?value) => RotationalSpeed.FromCentiradiansPerSecond(value);
/// <inheritdoc cref="RotationalSpeed.FromCentiradiansPerSecond(double)"/> public static RotationalSpeed CentiradiansPerSecond(this double value) => RotationalSpeed.FromCentiradiansPerSecond(value);
public static RotationalSpeed?CentiradiansPerSecond <T>(this T?value) where T : struct => RotationalSpeed.FromCentiradiansPerSecond(value == null ? (double?)null : Convert.ToDouble(value.Value));
public void NumberToCentiradiansPerSecondTest() => Assert.Equal(RotationalSpeed.FromCentiradiansPerSecond(2), 2.CentiradiansPerSecond());
public static RotationalSpeed CentiradiansPerSecond <T>(this T value) => RotationalSpeed.FromCentiradiansPerSecond(Convert.ToDecimal(value));