How do you round a field formula?

K

Kroner

If my formula generated a number say 18.26 how do I tell the formula to round
to 18? Formula = duration*Number4
 
D

Dale Howard [MVP]

Kroner --

To format a custom number, you must place the formula in a custom Text
field. Using your example, use the following formula in a Text field:

Format([(Duration]/480)*[Number4],"0") & " d"

The result looks nearly identical to the Duration field, but formatted as
you wish. Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top