Added a new function in misc.inc.php - locale_number( $num, $dec_places ).  It will detect the correct separators based upon the specified locale for the system.

Converted all of the tooltip code to use the locale_number function.

Fixes #286