Format number with dot separators (e.g., 1.000.000). Rounds to the nearest integer via Math.round; non-finite values pass through as their toString() form.
Math.round
toString()
Format number with dot separators (e.g., 1.000.000). Rounds to the nearest integer via
Math.round; non-finite values pass through as theirtoString()form.