In our testing, the following works as expected:
If you're doing something different, please provide more information.
var bag = new PropertyBag(); bag["blub"] = 123.456; engine.AddHostObject("bag", bag); Debug.Assert(engine.Evaluate("bag['blub']").Equals(123.456));