📅  最后修改于: 2020-11-09 05:47:32             🧑  作者: Mango
数值数据类型用于表示XML文档中的数字。
XSD中的元素声明-
XML中的元素用法-
9.12
XSD中的元素声明-
XML中的元素用法-
9
以下是常用数字数据类型的列表。
S.No. | Name & Description |
---|---|
1. |
byte A signed 8 bit integer |
2. |
decimal A decimal value |
3. |
int A signed 32 bit integer |
4. |
integer An integer value |
5. |
long A signed 64 bit integer |
6. |
negativeInteger An integer having only negative values (..,-2,-1) |
7. |
nonNegativeInteger An integer having only non-negative values (0,1,2,..) |
8. |
nonPositiveInteger An integer having only non-positive values (..,-2,-1,0) |
9. |
positiveInteger An integer having only positive values (1,2,..) |
10. |
short A signed 16 bit integer |
11. |
unsignedLong An unsigned 64 bit integer |
12. |
unsignedInt An unsigned 32 bit integer |
13. |
unsignedShort An unsigned 16 bit integer |
14. |
unsignedByte An unsigned 8 bit integer |
以下限制类型可以与Date数据类型一起使用-