Yes, the 'float' function will cast away the units.

1
2
3
4
5
6
7
8
9
10
 

[<Measure>]

type MyUnit

let unitful = 3.2<MyUnit>

let unitless = float unitful
By on 5/21/2009 4:04 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper