Xslt & Xpath参考手册
XPath 函数 | XPath Functions
round()
XSLT / XPath参考:XSLT元素, EXSLT函数,XPath函数,XPath轴
该round
函数返回一个与给定数字最接近的整数。
句法
round( decimal )
参数
_ decimal
_要舍入的十进制数。
返回
最接近的整数小于,大于或等于decimal
。
注意
- -0.5到零。0.4到零。
定义
XPath 1.0 4.4
gecko支持
支持的。
XPath 函数 | XPath Functions相关
XSLT 是扩展样式表转换语言 的外语缩写,这是一种对 XML(标准通用标记语言的子集)文档进行转化的语言,XSLT 中的 T 代表英语中的“转换”(Transformation)。它是 XSL(eXtensible Stylesheet Language)规范的一部分