切记,Xalan总是优先选择双精度类型,只有在无法找到范围更大的类型时,它才会使用接受整型的方法。
Remember, Xalan always prefers doubles, and it USES the int-accepting method only if it can't find a wider type.
为了在UML中创建相应的图,我们创建了两个新的构造型:用于表示XML模式属性的和用来表示双精度类型的。
To create a corresponding diagram in UML, two new stereotypes are created: to represent an XML schema attribute, and to represent a double.
Lua中所有的数字都是双精度的(不过我们可以非常简便地编写一些代码来实现其他数字类型)。
All Numbers in Lua are doubles (but you can easily build code to realize other numeric types).
应用推荐