Jump to content
Changes to the Jaspersoft community edition download ×

number format not working


cerien

Recommended Posts

Hi

I'm running Jaspersoft studio 6.3.1 on Linux Mint.

I have a variable defined as :

<variable name="solde" class="java.lang.String">
        <variableExpression><![CDATA[$V{mntfac1}+$V{mntpay1}]]></variableExpression>
    </variable>

and displayed as:

<textField pattern="#,##0.00 €">
                <reportElement x="333" y="24" width="100" height="14" uuid="5d1028f5-46e9-4367-aa9b-771adc12fdc5"/>
                <textElement textAlignment="Right"/>
                <textFieldExpression><![CDATA[$V{solde}]]></textFieldExpression>
</textField>

And it displays as it had not format - solde is the addition of two other variables, it computes right, I can apply succesfully the pattern to the other variables, but the result (solde) wont

Any ideas why ?

Tks

J

<variable name="solde" class="java.lang.String">
        <variableExpression><![CDATA[$V{mntfac1}+$V{mntpay1}]]></variableExpression>
    </variable>
Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...