diff --git a/src/macrorugo/macrorugo_compound.ts b/src/macrorugo/macrorugo_compound.ts
index 44e24b7ee54ff68714e0af967fff53e5cc3c80c6..d2f7c882d2d49ef883c456862be90fb7cfb69ee5 100644
--- a/src/macrorugo/macrorugo_compound.ts
+++ b/src/macrorugo/macrorugo_compound.ts
@@ -1,3 +1,4 @@
+import { round } from "../base";
 import { CalculatorType } from "../compute-node";
 import { ParamCalculability } from "../param/param-definition";
 import { Props } from "../props";
@@ -181,10 +182,11 @@ export class MacrorugoCompound extends MacroRugo implements Observer {
         lastBorder = 0;
         for (const xCenter of xCenters) {
             this.addDefaultChild();
-            this.children[this.children.length - 1].prms.ZF1.singleValue =
+            this.children[this.children.length - 1].prms.ZF1.singleValue = round(
                 this.prms.ZRL.singleValue + xCenter / this.prms.BR.singleValue
-                * (this.prms.ZRR.singleValue - this.prms.ZRL.singleValue);
-            this.children[this.children.length - 1].prms.B.singleValue = (xCenter - lastBorder) * 2;
+                * (this.prms.ZRR.singleValue - this.prms.ZRL.singleValue)
+            , 3);
+            this.children[this.children.length - 1].prms.B.singleValue = round((xCenter - lastBorder) * 2, 3);
             lastBorder += this.children[this.children.length - 1].prms.B.singleValue;
         }
     }