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: 2 }) + " miles</strong>" +
         "<strong>" + widthMiles.toLocaleString(undefined, { maximumFractionDigits: 0 }) + " miles</strong>" +
         " × " +
         " × " +
         "<strong>" + heightMiles.toLocaleString(undefined, { maximumFractionDigits: 2 }) + " miles</strong>" +
         "<strong>" + heightMiles.toLocaleString(undefined, { maximumFractionDigits: 0 }) + " miles</strong>" +
         " = " +
         " = " +
         "<strong>" + squareMiles.toLocaleString(undefined, { maximumFractionDigits: 2 }) + " mi²</strong>";
         "<strong>" + squareMiles.toLocaleString(undefined, { maximumFractionDigits: 0 }) + " mi²</strong>";
     });
     });
   });
   });
});
});