Created
January 26, 2017 16:13
-
-
Save gaverdugo/2eb68a97f84c248893ad32479b052120 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace GYM_wpf1 | |
{ | |
class Conversiones | |
{ | |
public static double CentimetersToInches(double centimeters) | |
{ | |
return centimeters * 0.393701; | |
} | |
public static double MetersToFeet(double meters) | |
{ | |
return meters * 3.28084; | |
} | |
public static double KilometersToMiles(double kilometers) | |
{ | |
return kilometers * 0.621371; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment