How to round with decimal - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

How to round with decimal

Last post 07-31-2011 06:26 PM by justin.jocewicz. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 04-22-2010 06:41 AM

    • Allan
    • Not Ranked
    • Joined on 04-22-2010
    • Posts 1

    How to round with decimal

    hello, I am new to infopath, currently use the 2003 version ... I am having great difficulty to round ... looked at several places on the round function (round) in any place and found about rounding with decimal ... example: 3.4567, wish it was 3:46 ... I'm using JScript to infopath form in other languages I could use Round (number, decimal), but from what I saw Math.round not do that ... In another example found System.math.round () would do with decimal places, but when I use the system says that name has not been set ... thanks, Allan

  • 05-06-2010 06:19 AM In reply to

    Re: How to round with decimal

    set rule on the field to set the value of field to

    round(. * 100) * .01

    Qazi Anis
    Technical Architect
    Bitwise Inc
  • 07-31-2011 06:26 PM In reply to

    Re: How to round with decimal

    Thank you soo much.  This was such a simple answer to my problem.  This worked in Infopath 2010 with a MOSS 2007 server.  I hope others will also benefit from this.  Thanks.

    Justin

    Filed under: ,
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.