init(_:)

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

Declaration

init(_ value: Double)