Beispiel #1
0
 public static SpeedConversion ConvertFrom(this double value, SpeedUnit unit)
 {
     return new SpeedConversion(value * unit.GetConversionFactor());
 }
 public static SpeedConversion ConvertFrom(this double value, SpeedUnit unit)
 {
     return(new SpeedConversion(value * unit.GetConversionFactor()));
 }
Beispiel #3
0
 public static double ConvertTo(this double metres, SpeedUnit unit)
 {
     return metres / unit.GetConversionFactor();
 }
 public static double ConvertTo(this double metres, SpeedUnit unit)
 {
     return(metres / unit.GetConversionFactor());
 }