cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Chávez <ccha...@agssa.net>
Subject Re: number edit fields rounded to 3 decimal places
Date Tue, 25 Jan 2005 15:29:14 GMT

Torsney, Thomas \(Exchange\) Escribio :-)
> I'm an fd:field element in cforms to edit some floating point values.
> However, the edit field always displays the values rounded to 3 decimal
> places.  I have tried using various patterns in:
> <fd:converter type="formatting">
>   <fd:patterns>
>     <fd:pattern>#</fd:pattern>
>   </fd:patterns
> </fd:converter>

  Hi Thomas.

  Not is "converter", is "convertor".
  and the pattern i am using is #,##0.00,
  for example for two decimal places.

  Cheers.

>
> However, this seems to be ignored.  I have even tried patterns that
> should reduce the precision but those don't work either.
>
> If I change the field type from fd:field to fd:output then the full
> floating point number is shown.
>
> I'm not sure what is going on here, does anyone know where else I can
> look?
>
> Thanks
>
>
> ***********************************************************************
> Bear Stearns is not responsible for any recommendation, solicitation,
> offer or agreement or any information about any transaction, customer
> account or account activity contained in this communication.
> ***********************************************************************
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>


-- 
Carlos Chávez

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message