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

michaelmyers

Members
  • Posts

    1
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Downloads

Everything posted by michaelmyers

  1. QUESTION: How do I update my existing code to display pounds instead of ounces for unit price? Is it as simple as adjusting the code in red section of the label? (the $V value) Is there more I would need to do to make this adjustment? The change occured when I switched from "OZ" to "oz". Any help would be greatly appreciated as I'm very very very new to this program and struggling to figure this out at the moment. CODE: $V{UnitPriceConvNOPromoPrice}.doubleValue() >= 1.00 ? "$" + $V{UnitPriceConvNOPromoPrice}.setScale(2,RoundingMode.HALF_UP) : $V{UnitPriceConvNOPromoPrice}.multiply(new BigDecimal(100)).setScale(1,RoundingMode.HALF_UP) + "¢" IMAGES: This is how the tag prints. I want the cost in the red section to display "per lb" not "per oz" as it's a diffrent number than 19.8 cents.
×
×
  • Create New...