Instance Property

objCType

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

Declaration

var objCType: UnsafePointer<Int8> { get }

Discussion

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.