[ic] truncating decimal values

Venu interchange-users@icdevgroup.org
Thu Oct 17 03:13:01 2002


Hi list,

I have a strange problem. When ever I am trying to display values with
decimal number (Eg. 12.56 etc.) then interchange is automatically truncating
the decimal numbers and displaying only 12.00.  Why???

I am giving the following in catalog.cfg
=========================
Locale          es_ES  LC_CTYPE C
Locale es_ES PriceDivide         1.02242
Locale es_ES p_cs_precedes       0
Locale es_ES currency_symbol     €
Locale es_ES p_sep_by_space      2
Locale es_ES mon_decimal_point   ,
LocaleDatabase  locale

And in search page
=============
[setlocale es_ES]
 [currency convert=1][item-field price][/currency]<br>
[setlocale]</td>

Any help will be highly appreciated.

Thanx......Venu Madhav