1
module ParasitemiaCore.UnitsOfMeasure
3 [<Measure>] type px // Pixel.
6 [<Measure>] type ppi = px / inch // Pixel per inch.
8 let μmInchRatio
= 25.4e3<μm
/inch>
10 let μmToInch
(x
: float<μm
>) : float<inch> = x
/ μmInchRatio
11 let inchToμm
(x
: float<inch>) : float<μm
> = x
* μmInchRatio