Converts the CDocBuilderValue object to a double value.
Name | Type | Description |
result | double* | The returned double value. |
CoInitialize(NULL); IONLYOFFICEDocBuilder* oBuilder = NULL; IONLYOFFICEDocBuilderContext* oContext = NULL; IONLYOFFICEDocBuilderValue* oGlobal = NULL; double dbl; oBuilder->Initialize(); oBuilder->GetContext(&oContext); oContext->GetGlobal(&oGlobal); oGlobal->ToDouble(&dbl); oBuilder->Dispose();