to_double方法

to_double(self)

以双精度形式返回属性值。


def to_double(self):
    ...

注意事项

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

也可以看看