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

decimal format pattern does not work


Recommended Posts

I have this decimal format pattern on numeric amount fields with two decimal places and requirement to show trailing sign:

####0.00#;####0.00-

My expectation is that the pattern will produce output that will be aligned on the decimal point.  However, this is what I get:

99999.99-     
       550.00    

I thought the hash tag (#) to the right of the positive amount (the first pattern) would produce a space but it does not.  Any clues???

John

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

  • 3 weeks later...
On 4/6/2024 at 5:03 AM, jmoore2416 said:

CORRECTION TO POST.  THE ACTUAL PATTERN STRING IS 

<textField pattern="###0.00;###0.00-">    Change the pattern as per your requirement .00 means at will show after dot show 2 digit eg value is 0.5 than it will show 0.50  right side # means value appears then as per the value ###0.00;- ###0.00    1st is for positive number display pattern and second is negative display pattern 

 

Link to comment
Share on other sites

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