Skip navigation
Currently Being Moderated

Hide Decimal places if they are 0

Jun 18, 2012 10:58 PM

Hi,

 

is it possible to hide the decimal places if they are 0?

 

For Example, if the number is "123.00" I want to display "123" in the decimal field and if it is "123.45" it should show "123.45".

 

Regards

 

Gerhard

 
Replies
  • Currently Being Moderated
    Sep 25, 2012 2:25 PM   in reply to Gerhard8

    Hi,

     

    this is possible with a numeric pattern using the 8 picture clause symbol.

    num{zzzzzzzz9.88}
    
     
    |
    Mark as:
  • Currently Being Moderated
    Oct 17, 2012 1:38 AM   in reply to radzmar

    Hi,

     

    Stumbled upon this thread via a google search.  I'm looking for an answer to the exact opposite of the question Gerhard8 has raised.

     

    I've entered a decimal field in the PDF I'm creating via Livecycle.  When previewing it a value entered as "123.00" is automatically converted into "123" when the user exits out of the field.  I don't want it to do that.  I want "123.00" to stay as "123.00". 

     

    Is there a particular numeric pattern used to achieve that?

     

    Many thanks

     

    Susith

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points