MCPcopy Create free account
hub / github.com/DFin/Neural-Network-Visualisation / formatInteger

Function formatInteger

assets/main.js:895–898  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

893}
894
895function formatInteger(value) {
896 if (!Number.isFinite(value)) return "";
897 return Math.round(value).toLocaleString();
898}
899
900function formatDecimal(value, digits) {
901 if (!Number.isFinite(value)) return "";

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected