For ITSE 2402 students, here is an example in php:
A student wrote this test example:
I just copied the formatting of .number_format($variable,3,"#",",); as listed on that site in the 3rd example listed. echo "
The value after formating = ".number_format($number,3,"#",":"); // Will display 2:512:589#668 ( with : after each thousand and # as decimal symbol ) The 3 is the amount of digits to put the , after and I changed the # to a . for the decimal and the : to a comma. So in the listed example, where they have a colon, I have a comma and where they have a #, I have a decimal.