Jump to content
We've recently updated our Privacy Statement, available here ×

robertdseals

Members
  • Posts

    7
  • Joined

  • Last visited

robertdseals's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. I had the fields and the variable set to "sting". I'm assuming I need to set it to "double" or something else?
  2. If it helps any, here's some of the XML <reportElement x="100" y="0" width="100" height="20"/> <textElement/> <textFieldExpression><![CDATA[$F{CAD}]]></textFieldExpression> </textField> <textField> <reportElement x="200" y="0" width="100" height="20"/> <textElement/> <textFieldExpression><![CDATA[$V{new java.Math.BigDecimal($F{CAD}.doubleValue() - $F{CMD}.doubleValue())}]]></textFieldExpression> </textField>
  3. Changed to: $V{new java.Math.BigDecimal($F{CAD}.doubleValue() - $F{CMD}.doubleValue())} and still not working.
  4. startup failed: calculator_report3_1314911259878_197438: 201: unable to resolve class java.Math.BigDecimal @ line 201, column 21.
  5. Hello, I am VERY new to this. I'm trying to subtract two fields in ireport 4.1.1 $F{CAD} $F{CMD} I tried putting $F{CAD} - $F{CMD} into a text box but that didn't work. I would like to use Designer view, but can use the XML view if you give me enough code. thanks,
  6. Hello, I'm using ireports 4.1.1 and I'm trying to subtract two fields. I am VERY new to this. $F{CMD} $F{CAD} I want to do $F{CMD} - $F{CAD} I'm using an Excel database and I tried putting it into a text box but it didn't work. Post Edited by robertdseals at 08/31/2011 19:41 Post Edited by robertdseals at 08/31/2011 19:42
×
×
  • Create New...