The number formats just cut off the number after the given number
of decimals points. In order to ROUND the number, you need to use
VBA code (linked to an input field's EXIT macro) to calculate the
result you want, and insert it into the result field (then the
form field can no longer be of type "Calculation", it must be a
plain text field, disabled for user input).
Quote:
> Could anyone help me ? The problem is following : I use forms
> in my Word97 document. The number format for each form field
> is #,##0.00 . Is it possible to get in this field the CORRECT
> result of calculations ? For example the real result is 8.678
> but Word pasts in the field only 8.67 ! How to avoid this case ?
> (Actually I need ONLY two numbers after the dot )
> How to achieve the right result (8.68) ?
Cindy Meister
INTER-Solutions, Switzerland
http://www.*-*-*.com/
http://www.*-*-*.com/
This reply is posted in the Newsgroup; please post any follow
question or reply in the newsgroup and not by e-mail :-)