Converts the CDocBuilderValue object to a double value.
builder = docbuilder.CDocBuilder() context = builder.GetContext() globalObj = context.GetGlobal() dGlobal = globalObj.ToDouble()