Precision Scale values

F

Farmboy

We have form design requiring precision 4 scale 1. How can this be
accomplished in field, as InfoPath counts decimal as one character; and if
length is changed to 5, user can still enter 9999, then when leave field
999.0 appears and in the XML it has stored 9999.

Info Path rounds, but stores entered value in XML. How can we get XML and
View to be the same.

Thank you in advance!
 
G

Greg Collins

Use 2 rules. One with a condition, and set to stop after it runs, would
check if there's a decimal point, and if so, then either round the number or
chop off anything past a certain amount and set the updated value back to
the field. The other rule runs only if there's no decimal point and does the
same thing, but one digit less.
 

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