MediaWiki:Common.js: Difference between revisions
No edit summary |
No edit summary |
||
| Line 76: | Line 76: | ||
result.innerHTML = | result.innerHTML = | ||
"<strong>" + widthMiles.toLocaleString(undefined, { maximumFractionDigits: | "<strong>" + widthMiles.toLocaleString(undefined, { maximumFractionDigits: 0 }) + " miles</strong>" + | ||
" × " + | " × " + | ||
"<strong>" + heightMiles.toLocaleString(undefined, { maximumFractionDigits: | "<strong>" + heightMiles.toLocaleString(undefined, { maximumFractionDigits: 0 }) + " miles</strong>" + | ||
" = " + | " = " + | ||
"<strong>" + squareMiles.toLocaleString(undefined, { maximumFractionDigits: | "<strong>" + squareMiles.toLocaleString(undefined, { maximumFractionDigits: 0 }) + " mi²</strong>"; | ||
}); | }); | ||
}); | }); | ||
}); | }); | ||