ValueDouble¶
- class dsviper.ValueDouble(initial_value=None)¶
Bases:
objectA class used to represent a value of type double. Seamless with a Python float.
Or use Value.create(Type.DOUBLE [, initial_value])
- ONE = 1.0¶
- ZERO = 0.0¶
- static cast(value: Value) ValueDouble¶
Return a double or raise.
- copy() ValueDouble¶
Return a deep copy.
- encoded() float¶
Return a Python float.
- hash() int¶
Return the hash value.
- representation() str¶
Return the representation.
- static try_parse(string: str) ValueDouble | None¶
Return a double or None.
- type_code() str¶
Return the type code.