MediaWiki:MonthlyConvert.js: Difference between revisions

Content deleted Content added
split EUR and GBP from USD etc so that we don't suggest for under $3. Add LATAM currencies
new amounts for SEK/NOK and DKK
Line 96:
[ Infinity, 0 ]
],
'SEK' : [ // Also NOK
[ 2529, 0 ],
[ 5035, 2520 ],
[ 10055, 3025 ],
[ 200105, 5030 ],
[ 300160, 7040 ],
[ 500210, 9050 ],
[ 1000360, 11060 ],
[ 2500450, 25075 ],
[ 5000600, 500100 ],
[ 800, 125 ],
[ 900, 150 ],
[ 1200, 200 ],
[ 1500, 250 ],
[ 1800, 300 ],
[ 2100, 350 ],
[ Infinity, 0 ]
],
Line 173 ⟶ 179:
[ Infinity, 0 ]
],
'DKK' : [ // Also NOK
[ 19, 0 ],
[ 2025, 10 ],
[ 120, 20 ],
[ 180250, 3040 ],
[ 300350, 50 ],
[ 450, 75 ],
[ 600, 100 ],
Line 310 ⟶ 316:
mc.amounts.RON = mc.amounts.MYR;
mc.amounts.PLN = mc.amounts.MYR;
mc.amounts.NOK = mc.amounts.DKKSEK;
 
mc.getSuggestedAmount = function ( amount, currency ) {