This is crazy? Where are the "0"'s

P

Patrick

Hello,
I have an infopath form (actually its the MS purchase order sample that I
altered) that is set to display in internet explorer for others that don't
have infopath. The problem is that when users view the form in internet
explorer, numbers that have "0" at the end don't have their zeros displayed.
For example the total 525.00 will be displayed as just 525 and 525.20 will be
displayed as 525.2 (isnt that weird) The field or node (I'm a newbie) is
set to decimal(double) and the decimal places set to 2. I have tried number
and currency without any luck same thing. I have replaced the view_1.xls
with the current file and edited the manifest several times and still no
avail. I also tried the round function but it still didn't show the "0"s. Is
their any kinda of conditional formatting or something?
 
G

Greg Collins [InfoPath MVP]

The InfoPath view uses a different formatter than the standard XSLT number formatter. If you want the numbers to display properly in Internet Explorer, you'll need to update your view.xsl file to use the XSLT number formatter instead of the InfoPath one.
 
P

Patrick

What would recommend is the best way to go about doing that? I know
very little about xslt
 
G

Greg Collins [InfoPath MVP]

Do a web search for xsl:number. There should be examples enough of how to use this.
 

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