Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let newC = Number.round(((c / (nc + c)) * -Number.toInt(adjustment)) + c, 0)
- let newNc = Number.round(((nc / (nc + c)) * -Number.toInt(adjustment)) + nc, 0)
- let total = Number.round(newC * (1 + Number.fromInt(this.state.taxRateCannabis))) + Number.round(newNc * (1 + Number.fromInt(this.state.taxRateNonCannabis)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement