Skip to content

[SR-16049] Storing 0.444 into a decimal property results in wrong number stored MacOS Swift 5.6 #3171

Open
@swift-ci

Description

@swift-ci
Previous ID SR-16049
Radar None
Original Reporter BeosDoc (JIRA User)
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Foundation
Labels Bug
Assignee None
Priority Medium

md5: 9b4b14e57a28cf835af9e93091e1f969

Issue Description:

let dec: Decimal = 0.444

print(dec)

// Results

0.4440000000000001024

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions