Skip to content
Chris Petersen edited this page Oct 16, 2014 · 1 revision

round-decimal rounds a number to the specified decimal place.

Parameter Description
num Number to be rounded
place Number of places to be kept (<10)

Example

Example 1: Round a few values

> (round-decimal 3.14159265 3)
3.142
Clone this wiki locally