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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software