Open Riunshow opened 5 years ago
const num1 = 123456 Number(num1).toLocaleString() // "123,456" const num2 = 123456.789 Number(num2).toLocaleString() // "123,456.789"
已读!