decodeDouble(forKey:)
Decodes a double-precision floating-point value associated with a given key.
Declaration
func decodeDouble(forKey key: String) -> DoubleParameters
- key:
A key in the archive within the current decoding scope.
keymust not benil.
Return Value
The double-precision floating-point value associated with the key key. Returns 0.0 if key does not exist.
Discussion
If the archived value was encoded as single-precision, the type is coerced.