I\'m developing a web application.
I need to display some decimal data correctly so that it can be copied and pasted into a certain GUI application that
GUI
Using other people answers I compiled the following decimal and thousand separators utility functions:
var decimalSeparator = function() { return (1.1).toLocaleString().substring(1, 2); }; var thousandSeparator = function() { return (1000).toLocaleString().substring(1, 2); };
Enjoy!