toDouble
将 CDocBuilderValue 对象转换为双精度浮点数值。
请注意,在
.docbuilder文件中不使用CDocBuilderValue.toDouble方法。
语法
double toDouble();
示例
Java
CDocBuilder.initialize("");
CDocBuilder builder = new CDocBuilder();
CDocBuilderContext context = builder.getContext();
CDocBuilderValue global = context.getGlobal();
double doubleValue = global.toDouble();
CDocBuilder.dispose();