update contracts+ desktop version
This commit is contained in:
@@ -23,7 +23,7 @@ export function getAddressShortName(address) {
|
||||
}
|
||||
|
||||
|
||||
export function numberWithCommas(x) {
|
||||
export function numberWithCommas(x, ) {
|
||||
x = x.toString();
|
||||
var pattern = /(-?\d+)(\d{3})/;
|
||||
while (pattern.test(x)) x = x.replace(pattern, "$1,$2");
|
||||
|
||||
Reference in New Issue
Block a user