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

oxelad

Members
  • Posts

    3
  • Joined

  • Last visited

oxelad's Achievements

Newbie

Newbie (1/14)

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

Recent Badges

0

Reputation

  1. It is a Java. Ok. The correct code should be like this one: Double.valueOf($f{variable1}.doubleValue()+$f{variable2}.doubleValue())
  2. you can solve this by using an expression like this "variable1.doubleValue()+variable2.doubleValue()"
  3. Hallo, I'm using Java6 and would like to format a decimal value using this format mask "#,##0.00". At the first sight all looks fine but... I found that my decimal values are rounded using RoundingMode.HALF_EVEN rounding mode. And this is not correct in my case :( . Is this possible to specify an other rounding mode (i need HALF_UP mode)? I can also use an internal formatting valibale (f.e java.text.DecimalFormat). But the same question is here: how it is possible to change a rounding mode? Thank you.
×
×
  • Create New...