Compare two revisions of: Rounding

... ... @@ -59,10 +59,10 @@ Logically displayprecision ≥ correctorprecision
59 59 display calculated value then set the precision within the function command. Again this value should be ≥ than
60 60 the corrector precision.
61 61 </div>
62 -<div class="alert green">
63 - If you want to display numbers calculated from a function rounded to smaller digits than the corrector precision, you
64 - can use the floor function to achieve that.
65 -</div>
62 +
63 +`{latex}\function[calculate, <number>]{<var>}{<expression>}` will calculate the `<expression>` and round the result according to the value of `<number>` . The option `<number>`, should only be used when you want to display the result of the calculated function on the screen. If `<number>` is not provided calculate will result in a number with an accuracy of up to 16 digits (default) behind the decimal mark.
64 +
65 +Alternatively, if you want to display numbers calculated from a function rounded to smaller digits than the corrector precision, you can use the floor function to achieve that.
66 66
67 67 **Example**
68 68
69 69