Initializer

init(_:)

Creates and initializes a decimal with the provided integer value.

Declaration

init(_ value: Int16)

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(Int32)

Creates and initializes a decimal with the provided integer value.

init(Int64)

Creates and initializes a decimal with the provided integer value.

init(integerLiteral: Int)

Creates and initializes a decimal with the provided integer value.