Advertisement
Guest User

Untitled

a guest
Feb 25th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. let newC = Number.round(((c / (nc + c)) * -Number.toInt(adjustment)) + c, 0)
  2. let newNc = Number.round(((nc / (nc + c)) * -Number.toInt(adjustment)) + nc, 0)
  3.  
  4. 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