Clamps Dictionary
dround
Function
(dround num &optional (prec 2))
Return a float of num rounded to prec decimal places.
Arguments
num |
The number to round. |
prec |
Non Negative Integer denoting the number of decimal places. |
Examples
(dround 1/3) ; => 0.33 (dround 1/3 5) ; => 0.33333 (dround 1) ; => 1.0
Created: 2025-02-18 Di 12:58