Casting from type to type
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.
(1 + 1) as Float 200.5 as Int "200" as Int "10.500" as Double
Last updated 2 years ago