Instance Property インスタンスプロパティ

description

A textual representation of the value. その値のテキスト表現。

Declaration 宣言

var description: String { get }

Discussion 解説

For any finite value, this property provides a string that can be converted back to an instance of Float without rounding errors. That is, if x is an instance of Float, then Float(x.description) == x is always true. For any NaN value, the property’s value is “nan”, and for positive and negative infinity its value is “inf” and “-inf”. あらゆる有限の値に対して、このプロパティはある文字列を提供します、それは丸め誤差なしに逆にFloatのインスタンスへと変換されることが可能です。すなわち、xFloatのインスタンスならば、そのときFloat(x.description) == xは常に真です。あらゆるNaN値に対して、このプロパティの持つ値は “nan” です、そして正と負の無限大に対してそれの値は “inf” と “-inf” です。

Relationships 関係

From Protocol 由来プロトコル

See Also 参照

Describing a Float Floatを記述する