to_double方法

to_double()

将属性值返回为双精度值。

def to_double(self):
    ...

评论

如果属性类型不是 PropertyType.Float,则引发异常。

也可以看看