CodeCanyon

Envato Earnings Calculator - Friendly Challenge: How would you do it?

172 posts
  • Exclusive Author
  • Referred between 100 and 199 users
  • Bought between 1 and 9 items
  • Has been a member for 0-1 years
  • Portugal
  • Sold between 10 000 and 50 000 dollars
  • Microlancer Beta Tester
+1 more
cmoreira says

Hello everyone!

The other day I was wondering how much money I would earn if I ever reached the 70% cut, or, what would be my balance if I reached a sales volume of $75000. So I did this quick script to calculate the earnings depending on the sale volume and the growing payment rates: http://jsfiddle.net/cmoreira/Egcua/

It’s very simple, i didn’t spend any time on design :P

I searched the forums and I didn’t find anything similar, so I’m sharing it here.

And a small challenge to the other coders: how would you do it? :)

I am not sure the function I did is the best, so, how would you do it? How would you enhance this script? Share your solutions here!

Cheers

Carlos

by
by
by
by
by