Created
October 12, 2012 19:13
-
-
Save hartez/3880921 to your computer and use it in GitHub Desktop.
Convertinator basic example
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
var graph = new ConversionGraph(); | |
var meter = new Unit("meter"); | |
var feet = new Unit("foot"); | |
graph.AddConversion(Conversions.One(meter).In(feet).Is(3.28084M)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment