Пример #1
0
 /// <inheritdoc cref="SpecificWeight.FromTonnesForcePerCubicMillimeter(double?)"/>
 public static SpecificWeight?TonnesForcePerCubicMillimeter(this long?value) => SpecificWeight.FromTonnesForcePerCubicMillimeter(value);
 /// <inheritdoc cref="SpecificWeight.FromTonnesForcePerCubicMillimeter(double?)"/>
 public static SpecificWeight?TonnesForcePerCubicMillimeter(this decimal?value) => SpecificWeight.FromTonnesForcePerCubicMillimeter(value == null ? (double?)null : Convert.ToDouble(value.Value));
 /// <inheritdoc cref="SpecificWeight.FromTonnesForcePerCubicMillimeter(double)"/>
 public static SpecificWeight TonnesForcePerCubicMillimeter(this float value) => SpecificWeight.FromTonnesForcePerCubicMillimeter(value);
 /// <inheritdoc cref="SpecificWeight.FromTonnesForcePerCubicMillimeter(double)"/>
 public static SpecificWeight TonnesForcePerCubicMillimeter(this decimal value) => SpecificWeight.FromTonnesForcePerCubicMillimeter(Convert.ToDouble(value));
 public static SpecificWeight TonnesForcePerCubicMillimeter <T>(this T value) =>
 SpecificWeight.FromTonnesForcePerCubicMillimeter(Convert.ToDecimal(value));