<jx:formatNumber value="number"
    [type="Type"] [pattern="Expression"]
    [currencyCode="Expression"] [currencySymbol="Expression"]
    [maxIntegerDigits="Expression"] [minIntegerDigits="Expression"]
    [maxFractionDigits="Expression"] [minFractionDigits="Expression"]
    [groupingUsed="Expression"]
    [var="Name"] [locale="Expression"]>
On Apr 5, 2004, at 1:51 PM, michel.erard wrote:

Hello,

is here somebody used to jxTemplate and can help me? I'm trying to format the Output in a kind like this :

I'm looking for a possibility to have something like a right-formating in a cell of a table. (C Like)

Example:
                1000.00 and 100.00 should be displaye in this way
                
                1000.00
                 100.00

does somebody know how to do this?


You could define a custom pattern, something like #########0.00
see http://cocoon.apache.org/2.1/userdocs/flow/jxtemplate.html#formatNumber


if the output is html, you'll have to set the appropriate @align of element that contains your data.

/leo


thanks

Mike


______________ ______________ ______________ QuickLine WebMail - http://www.quick-line.ch





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to