View Single Post
  #3   Report Post  
Posted to microsoft.public.word.docmanagement
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default How can you round a number in a non-calculating field?

Hi Jerye,

You can make a formfield round a number to various levels of precision. If you set the formfield's 'type' property to 'number' you
then get the option to set the precision. That's the precision level the formfield will store, regardless of what's input. If you
need to use a rounded version of that in another formula, you could use a formula field coded as:
.. {=ROUND(Text1,-2)} to round the text formfield's value off to the nearest 100
.. {=ROUND(Text1,0)} to round the text formfield's value off to the nearest whole number
.. {=ROUND(Text1,2)} to round the text formfield's value off to the nearest 1/100
etc, where 'Text1' is the formfield's bookmark name.

--
Cheers
macropod
[Microsoft MVP - Word]


"Jerye" wrote in message ...
I have a form field that needs to be rounded, but it is not a calculating
form field, it is the field used in the calculation of another form field. Is
there a way to do this?

Jerye