Instance Method インスタンスメソッド

decodeDoubleForKey:

Decodes a double-precision floating-point value associated with a given key. 与えられたキーと結び付けられた倍精度浮動小数点値をデコードします。

Declaration 宣言

- (double)decodeDoubleForKey:(NSString *)key;

Parameters パラメータ

key

A key in the archive within the current decoding scope. key must not be nil. 現在のデコードスコープ内のアーカイブの中のあるキー。keyは、nilであってはいけません。

Return Value 戻り値

The double-precision floating-point value associated with the key key. Returns 0.0 if key does not exist. キーkeyと結び付けられた倍精度浮動小数点値。0.0を返します、もしkeyが存在しないならば。

Discussion 議論

If the archived value was encoded as single-precision, the type is coerced. アーカイブされた値が単精度としてエンコードされたならば、型は強制されます。

See Also 参照

Decoding Data データをデコードする

Related Documentation 関連文書