F# – Converting to and from Units of Measure
If you’re reading this post, you probably know about F#’s Units of Measure already, it’s very useful when working with real-world units and adds extra safety to code that needs to work with and convert from one unit to another. Here’s a quick snippet that shows you how to define and use units-of-measure: This code …