Initializer

init(integerLiteral:)

Creates and initializes a decimal with the provided integer value.

Declaration

init(integerLiteral value: Int)

Relationships

See Also

Creating a Decimal from an Integer

init?<T>(exactly: T)

Creates a new decimal value exactly representing the provided integer.

init(Int)

Creates and initializes a decimal with the provided integer value.

init(Int8)

Creates and initializes a decimal with the provided integer value.

init(Int16)

Creates and initializes a decimal with the provided integer value.

init(Int32)

Creates and initializes a decimal with the provided integer value.

init(Int64)

Creates and initializes a decimal with the provided integer value.