Skip to content
This repository was archived by the owner on Dec 9, 2023. It is now read-only.

NuSource/FluentConversions

Repository files navigation

FluentConversions NuGet Publish

NuGet package link: https://www.nuget.org/packages/NuSource.FluentConversions/

About

Simple and fluent conversions for various units. This package is for testing purposes, and should not be used for any production software.

double inc = FluentConvert.FromDistance(3.0, DistanceType.Meters).To(DistanceType.Inches);
Console.WriteLine($"3 meters is {inc} inches."); // 3 meters is 118.1102362206 inches.

double c = FluentConvert.FromTemperature(32.0, TemperatureType.Fahrenheit).To(TemperatureType.Celsius);
Console.WriteLine($"32f is {c}c."); // 32f is 0c.

Full documentation can be found on the GitHub wiki: https://github.com/NuSource/FluentConversions/wiki

Contributing

Pull Requests

All contributor branches should track the develop branch, and the main branch is only for releases.

About

Simple and fluent conversions for various units.

Resources

License

Stars

Watchers

Forks

Contributors

Languages