Performing Simple Mathematical Operations

Other topics

Remarks:

Performing mathematical operations is the basis of manipulating data and working with lists. Therefore, understand how it works is key to progressing in one's understanding of Clojure.

Math Examples

;; returns 3
(+ 1 2) 

;; returns 300
(+ 50 210 40)

;; returns 2
(/ 8 4)

Contributors

Topic Id: 8901

Example Ids: 27713

This site is not affiliated with any of the contributors.