15 lines
448 B
C#
15 lines
448 B
C#
|
public static class HGUnitConversions
|
||
|
{
|
||
|
public static readonly double milesToKilometers = 1.609344;
|
||
|
|
||
|
public static readonly double kilometersToMeters = 1000.0;
|
||
|
|
||
|
public static readonly double milesToMeters = milesToKilometers * kilometersToMeters;
|
||
|
|
||
|
public static readonly double hoursToMinutes = 60.0;
|
||
|
|
||
|
public static readonly double minutesToSeconds = 60.0;
|
||
|
|
||
|
public static readonly double hoursToSeconds = hoursToMinutes * minutesToSeconds;
|
||
|
}
|