$ {$p[0]}.{$p[1]}"; } /* if ($price < 0) { $cf = param('currency format negative'); $price = -$price; //negative sign will be set from format } else { $cf = param('currency format positive'); } $price = number_format( $price, param('currency format decimals'), param('currency format decimal separator'), param('currency format thousands separator') ); $price = sprintf($cf, $price); return $price; */ } ?>