Calculate variable

0

Sorry, i have a problem and  I do not know the program well

I have to calculate a variable

V1 * (V2  / 100) * (90/100) and V1 and V2 are java.math.bigdecimal

how can I do?

TNK

yorkino73's picture
Joined: Aug 11 2017 - 2:16am
Last seen: 1 week 12 hours ago

1 Answer:

0

Try this 

$V{V1}.multiply($V{V2}.divide(new BigDecimal(100))).multiply(new BigDecimal(90).divide(new BigDecimal(100)))

reportdev's picture
686
Joined: Oct 12 2015 - 12:05pm
Last seen: 1 day 4 hours ago
Feedback
randomness