コード例 #1
0
 public static ForcePerLength NanonewtonsPerCentimeter <T>(this T value) =>
 ForcePerLength.FromNanonewtonsPerCentimeter(Convert.ToDecimal(value));
コード例 #2
0
 public void NumberToNanonewtonsPerCentimeterTest() =>
 Assert.Equal(ForcePerLength.FromNanonewtonsPerCentimeter(2), 2.NanonewtonsPerCentimeter());