Skip to main content
Solved

reduce 5 decimal places to 0 decimal places in lobby element


Forum|alt.badge.img+5
  • Do Gooder (Customer)
  • 12 replies

I have a bar graph with currency as the data points but it keeps coming up with 5 decimal places for the formatt.  Is there a way to make it have 0 decimal places.  I have the column in the data element set to currency already.

Best answer by CallumW

In Tools/Options you have IFS Currency format

 

View original
Did this topic help you find an answer to your question?

8 replies

  • Superhero (Employee)
  • 1427 replies
  • March 20, 2020

There should be a rounding option in the element designer(pretty far down) or you could use round(column,0) in your data source. 


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Customer)
  • 12 replies
  • March 20, 2020

I have tried both of your suggestions, it still looks like this.

Do you have any other suggestions?  I have also tried to_char(round(total_amount),0),’L999,999,999,999’)  but the lobby element wont work that way.


  • Superhero (Employee)
  • 1427 replies
  • March 21, 2020
wcocom wrote:

I have tried both of your suggestions, it still looks like this.

Do you have any other suggestions?  I have also tried to_char(round(total_amount),0),’L999,999,999,999’)  but the lobby element wont work that way.

 

What does your data source look like? What if you just set the column to currency? 

 

 


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Customer)
  • 12 replies
  • March 21, 2020

When i set the column to currency is when i get the 5 decimal places added.  This is how it is set.

 


  • Superhero (Employee)
  • 1427 replies
  • March 24, 2020
wcocom wrote:

When i set the column to currency is when i get the 5 decimal places added.  This is how it is set.

 

This is what I’m getting with currency:

 

Column Alias Type
to_char(date_entered,'MM-WW') MonthWeek Text
sum(&AO.customer_order_api.get_total_base_price(ORDER_No)) Base Price Currency

 

If I instead just set the base price to Number instead of currency, I get (what I think you are looking for?)

 

 


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Customer)
  • 12 replies
  • March 24, 2020

Is there a place in IFS where you can change currency setting? 


CallumW
Superhero (Partner)
Forum|alt.badge.img+15
  • Superhero (Partner)
  • 128 replies
  • Answer
  • March 24, 2020

In Tools/Options you have IFS Currency format

 


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Customer)
  • 12 replies
  • March 24, 2020

Thank you.  That worked.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings