function TRANSLATE_COMMA($dotted, $cut=true)
{
global $CONFIG;
// Default is 3 you can change this in admin area "Misc -> Misc Options"
if (empty($CONFIG['max_comma'])) $CONFIG['max_comma'] = "3";
if (!ereg("\.", $dotted)) $dotted .= ".".str_repeat("0", $CONFIG['max_comma']);
function TRANSLATE_COMMA($dotted, $cut=true)
{
global $CONFIG;
// Default is 3 you can change this in admin area "Misc -> Misc Options"
if (empty($CONFIG['max_comma'])) $CONFIG['max_comma'] = "3";
if (!ereg("\.", $dotted)) $dotted .= ".".str_repeat("0", $CONFIG['max_comma']);