sml arithmetic operations
Addition, subtraction, multiplication and division.
[code language=”text”]
1+2;
10-2;
2*10;
9.0/3.0;
[/code]
Output:
[code language=”text”]
val it = 3 : int
val it = 8 : int
val it = 20 : int
val it = 3.0 : real
val it = () : unit
[/code]
Search within Codexpedia
![Google](https://www.google.com/images/poweredby_transparent/poweredby_FFFFFF.gif)
Custom Search
Search the entire web
![Google](https://www.google.com/images/poweredby_transparent/poweredby_FFFFFF.gif)
Custom Search
Related Posts