Converts the CDocBuilderValue object to a double value.
string workDirectory = "C:/Program Files/ONLYOFFICE/DocumentBuilder"; CDocBuilder.Initialize(workDirectory); CDocBuilder oBuilder = new CDocBuilder(); CContext oContext = oBuilder.GetContext(); CValue oGlobal = oContext.GetGlobal(); double dGlobal = oGlobal.ToDouble(); CDocBuilder.Destroy();