Skip to content

Instantly share code, notes, and snippets.

@hartez
Created October 12, 2012 19:13
Show Gist options
  • Save hartez/3880921 to your computer and use it in GitHub Desktop.
Save hartez/3880921 to your computer and use it in GitHub Desktop.
Convertinator basic example
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