round() - InfoPath Dev Sign in | Join | Help in General InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » General » round() round() Last post 05-03-2005 06:31 AM by Agni Jonnalagadda. 1 replies. Page 1 of 1 (2 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 04-29-2005 04:36 PM sainzmichael Joined on 04-22-2005 USA Posts 10 round() Reply Contact For this function, is there a way to set where it rounds to? Like I have Unit that is $28.50 and I want to apply a Discount to it of .85 to make it 24.225. I want to round to the nearest hundredth. How would I accomplish this? 05-03-2005 06:31 AM In reply to Agni Jonnalagadda Joined on 12-15-2004 India Posts 617 Re: round() Mark as Not AnswerMark as Answer... Reply Contact In .NET we can round the decimals Math.Round methodMath.Round(3.446, 2); //Returns 3.45.You can find more info about .net round method athttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemMathClassRoundTopic.asp I dint find much info about this in XSL but there is a work around for thismultiply your output with 100, round the number and divide it with 100.so it could be like thisround(result*100)/100AgniInfoPathDev India Agni / http://www.ggktech.com Page 1 of 1 (2 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.