rizkiolivia 0 Posted April 14, 2016 Help me cooding how to change 1 proof of donation to 1000 cash points?? https://github.com/d...points2item.txt Quote Share this post Link to post Share on other sites
0 rizkiolivia 0 Posted April 15, 2016 anyone please help me. Quote Share this post Link to post Share on other sites
0 Kubix 83 Posted April 15, 2016 .rate = 1000; // Exchange rate (1 point * rate = total PoDs) Quote Share this post Link to post Share on other sites
0 rizkiolivia 0 Posted April 17, 2016 .rate = 1000; // Exchange rate (1 point * rate = total PoDs) .rate = 1000; <<< for PoDs.. if 1000 PoDs only 1 cash points. Quote Share this post Link to post Share on other sites
0 rizkiolivia 0 Posted April 22, 2016 anyone can help? Quote Share this post Link to post Share on other sites
0 kenik 12 Posted April 23, 2016 (edited) Well.. You can make some modification. Example: input .@amount; if (.rate > 0) { .@total = .@amount / .rate; .@remainder = .@amount % .rate; } else { .@total = .@amount * .rate * -1; } OTHER CODE HERE .rate = -1000; // if rate < 0 than total = amount * rate Edited April 23, 2016 by kenik Quote Share this post Link to post Share on other sites
Help me cooding how to change 1 proof of donation to 1000 cash points??
https://github.com/d...points2item.txt
Share this post
Link to post
Share on other sites