跳到主要内容

toDouble

Converts the CDocBuilderValue object to a double value.

Please note, that for the .docbuilder file the CDocBuilderValue.toDouble method is not used.

Syntax

double toDouble();

Example

Java

CDocBuilder.initialize("");
CDocBuilder builder = new CDocBuilder();
CDocBuilderContext context = builder.getContext();
CDocBuilderValue global = context.getGlobal();
double doubleValue = global.toDouble();
CDocBuilder.dispose();