Skip to content

Commit

Permalink
feat: format numbers to locale (#532)
Browse files Browse the repository at this point in the history
  • Loading branch information
doabell authored Apr 6, 2024
1 parent caf534b commit 2d632a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/_static/table.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ async function fetch_JSON_file(url) {
const td = document.createElement('td');
const attr = header_attrs[i]
if (json_data[key][attr]) {
td.textContent = json_data[key][attr];
td.textContent = json_data[key][attr].toLocaleString();
}
else {
td.textContent = "N/A"
Expand All @@ -72,4 +72,4 @@ async function fetch_JSON_file(url) {
// Handle errors
console.error('Error:', error);
});
}
}

0 comments on commit 2d632a1

Please sign in to comment.