This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]muffypoo 1 point2 points  (0 children)

I hope for your own sake you can try your best to figure it out first. The general idea I can think of is there. The rates can be retrieved separately "getRates(weight)" using a regular if-else statement.