round « XSLT stylesheet « XML Tutorial

Home
XML Tutorial
1.Introduction
2.Namespace
3.XML Schema
4.XPath
5.XSLT stylesheet
XML Tutorial » XSLT stylesheet » round 
5.12.round
5.12.1.ceilng(), floor() and round() transform floating point numbers into integers
5.12.2.round()- Takes a number as its argument and returns the integer that is closest to the number argument. The method of rounding is not specified, which may cause problems if a particular algorithm-for example, banker's rounding- is needed.
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.