Initializer

init(_:)

Creates and initializes a decimal with the provided floating point value.

Declaration

init(_ value: Double)

See Also

Creating a Decimal from a Floating Point Number

init(floatLiteral: Double)

Creates and initializes a decimal with the provided floating point value.