Jump to content

format number, using ROUND_HALF_UP and styletemplate?


jaapandre

Recommended Posts

I need to round the outcome of a sum using round_half_up, in stead of the (default) round_half_even. I also need to set the number of decimals dynamically, preferably via a styleTemplate. Is this possible?

I found the solution to adjust the expression in the textfield, (unfortunately I did not get it working yet), but I guess it is not possible to set the number of decimals using a styletemplates. It this correct, or am I wrong?

If it is possible to set the default method of numberformat to round_half_even, it is even better.

I wonder if the pattern expression (in stead of pattern) could be usefull, but I cannot found documentation about it.

Best regards,

 

Jaap-Andre



Post Edited by jaapandre at 16/12/2011 12:56
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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...