let highDouble = 1.7976931348623e+308 // Just under Double.greatestFiniteMagnitude
print(highDouble) // 1.7976931348623e+308
let highDecimal = Decimal(highDouble)
print(highDecimal) // 179769313486
値フォーマッタサービスのテストを書いているうちに、Number.prototype.toLocaleString("sv-SE")について奇妙なことがあることに気付きました。 let myValue = (100000).toLocaleString("sv-SE");
console.log(typeof myValue);
console.log(myValue);
c