New Forum | Previous | Next | (P-PDF) Developers
Topic: How to remove trailing zero's after a decimal place in a calculated number field
Conf: (P-PDF) Developers, Msg: 116534
Date: 8/1/2004 04:50 AM
I am a novice acrobat user (hospital pharmacist) developing a doctor's medication order form in which the dose is automatically calculated based on the patient's weight. I have a calculated form field formatted to diplay decimal places. Is there a way to display whole numbers as integers (e.g., "2.0" would become "2") while maintaining the ability to display a decimal point if the calculated value is not a shole number (e.g., "2.5" remains "2.5"? The hospital prohibits displaying "trailing zero's" after decimal places for patient safety reasons.