Replies: 2 comments 2 replies
-
Check this, could help https://v2.dinerojs.com/docs/faq/how-do-i-calculate-a-percentage |
Beta Was this translation helpful? Give feedback.
-
It's been a while, sorry, I'm currently struggling with a slightly different calculation, rather than calculating the tax rate I'm trying to get the included tax amount (as typical in germany) |
Beta Was this translation helpful? Give feedback.
-
I do currently
amount_tax / (amount_total - amount_tax)
oramount_tax / price_net
and I'm trying to convert to use dinero, which works great for the most part only divisions I don't get yet or rather how to do them in this case?
Beta Was this translation helpful? Give feedback.
All reactions