Quote from
Gaev on October 11, 2019, 3:12 pm
@neobook
the problem is that by multiplying the variables the result gives me in whole number and not in decimal.
From the Help file for the Math command ...
decimal places
The number of decimal places to include in the result. Use 0 (zero) to round the result to the nearest whole number or -1 to have NeoBook automatically determine the optimal number of decimal places
So, try and specify 2 for the decimal places parameter like this ...
Math "[currentPReCIO]*[CANTIDAD1]" "2" "[SUBTOTAL1]"
@neobook
the problem is that by multiplying the variables the result gives me in whole number and not in decimal.
From the Help file for the Math command ...
decimal places
The number of decimal places to include in the result. Use 0 (zero) to round the result to the nearest whole number or -1 to have NeoBook automatically determine the optimal number of decimal places
So, try and specify 2 for the decimal places parameter like this ...
Math "[currentPReCIO]*[CANTIDAD1]" "2" "[SUBTOTAL1]"
DaviddeArgentina and neobook have reacted to this post.