Re: [Citrusdb-users] Currency Format

2012-08-27 Thread bryan
Paul, Thank you very much for the information. This is my quick jab at a function in include/citrus_base.php function currency_format ($value, $flags = '%!i') { $result = false; global $currency_format; $input = preg_replace('/[,]/', '', $value); if ( is_numeric( $input ) ) {

Re: [Citrusdb-users] Currency Format

2012-08-25 Thread Paul Yasi
The variable should go into the config.inc.php and you are right that kind of function can go into citrus_base.php Paul On Thu, Aug 23, 2012 at 5:04 AM, bryan wrote: > Paul, > > You have probably been asked this before... > To introduce a function where would I put it? >include/citrus_base.p

[Citrusdb-users] Currency Format

2012-08-23 Thread bryan
Paul, You have probably been asked this before... To introduce a function where would I put it? include/citrus_base.php ? I need to change the currency format for Japanese Yen. Which doesn't use decimals. So I thought that a function that formats depending on a variable in include/config.in