MediaWiki:DonationFormSandbox.js: Difference between revisions

Content deleted Content added
No edit summary
round maxLocal down to nearest whole number
Line 1,310:
donationForm.minLocal = Math.ceil( donationForm.minLocal * 100 ) / 100; // Round it up
donationForm.maxUSD = 25000;
donationForm.maxLocal = Math.floor( donationForm.currencyRates[ donationForm.currency ] * donationForm.maxUSD );
 
// Overrides for India