Uses `toLocaleString()` polyfill to insert `.` and/or `,` as needed based on currently selected locale. Closes #845