Instance Property


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


var objCType: UnsafePointer<Int8> { get }


For a decimal number object, this property always contains “d” (for double).

See Also

Accessing the Value

var decimalValue: Decimal

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

var doubleValue: Double

The decimal number’s closest approximate double value.

func description(withLocale: Any?) -> String

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

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