コード例 #1
0
 /// <inheritdoc cref="SpecificWeight.FromTonnesForcePerCubicMillimeter(double?)"/>
 public static SpecificWeight?TonnesForcePerCubicMillimeter(this long?value) => SpecificWeight.FromTonnesForcePerCubicMillimeter(value);
コード例 #2
0
 /// <inheritdoc cref="SpecificWeight.FromTonnesForcePerCubicMillimeter(double?)"/>
 public static SpecificWeight?TonnesForcePerCubicMillimeter(this decimal?value) => SpecificWeight.FromTonnesForcePerCubicMillimeter(value == null ? (double?)null : Convert.ToDouble(value.Value));
コード例 #3
0
 /// <inheritdoc cref="SpecificWeight.FromTonnesForcePerCubicMillimeter(double)"/>
 public static SpecificWeight TonnesForcePerCubicMillimeter(this float value) => SpecificWeight.FromTonnesForcePerCubicMillimeter(value);
コード例 #4
0
 /// <inheritdoc cref="SpecificWeight.FromTonnesForcePerCubicMillimeter(double)"/>
 public static SpecificWeight TonnesForcePerCubicMillimeter(this decimal value) => SpecificWeight.FromTonnesForcePerCubicMillimeter(Convert.ToDouble(value));
コード例 #5
0
 public static SpecificWeight TonnesForcePerCubicMillimeter <T>(this T value) =>
 SpecificWeight.FromTonnesForcePerCubicMillimeter(Convert.ToDecimal(value));