# Type casting

Type conversion is a useful feature to have in a programming language and SMLL is no different. To cast from type A to B use the as keyword.&#x20;

```ocaml
(1 + 1) as Float 
200.5 as Int
"200" as Int
"10.500" as Double 
```
