Units of Measure is a language feature.

Some languages have builtin units of measurement.

- the Units of Measure Wikipedia page
- Have a question about Units of Measure not answered here? Open an issue explaining what you need.
- Edit this page

Languages **without** Units of Measure include Python, C++, Bash

Languages **with** Units of Measure include F#, Nemerle, Modelica, Frink, TI-89 series

```
// https://fsharpforfunandprofit.com/posts/units-of-measure/
[<Measure>] type N = kg m/sec^2
let force1 = 5.0<kg m/sec^2>
let force2 = 5.0<N>
force1 = force2 // true
```

```
def m3 = 1 g;
def m4 = Si.Mass(m1);
WriteLine($"Mass in SI: $m4, in CGS: $m3");
def x1 = Si.Area(1 cm * 10 m);
WriteLine($"Area of 1 cm * 10 m = $x1 m");
```

```
type SpecificHeatCapacity = Real (
final quantity="SpecificHeatCapacity",
final unit="J/(kg.K)"
);
```

`10 feet 12 feet 8 feet -> gallons`

`54_kg * (_c^2)`