Hello, I have a module that calculates VAT. And I Get Numbers Like This **1271.1864406779662** For Example.

How Can I Set This Number To **1271.19**?

Hello, I have a module that calculates VAT. And I Get Numbers Like This **1271.1864406779662** For Example.

How Can I Set This Number To **1271.19**?

use the Math Module.

and the function ‘round’

You have to trick Make to not automatically substitute their ‘round’ function with the math round function by adding the parenthesis before the function name. (Or you can use the File attached which is an exported math module with the rounding function set.

blueprint (2).json (1.5 KB)

2 Likes

I m also have the same question but I don’t understand the solution

Could you explain how you do that please ?

Thanks