Instance Property

doubleValue

The decimal number’s closest approximate double value.

Declaration

var doubleValue: Double { get }

Discussion

Not all decimal numbers can be accurately represented using a double value.

See Also

Accessing the Value

var decimalValue: Decimal

The decimal number’s value, expressed as an Decimal structure.

func description(withLocale: Any?) -> String

Returns a string representation of the decimal number appropriate for the specified locale.

var objCType: UnsafePointer<Int8>

A C string containing the Objective-C type for the data contained in the decimal number object.