Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

== operator considers money and integer/decimal to be equal #952

Closed
Siskin-Bot opened this issue Feb 15, 2020 · 0 comments
Closed

== operator considers money and integer/decimal to be equal #952

Siskin-Bot opened this issue Feb 15, 2020 · 0 comments
Labels
CC.resolved Issue with CureCode status built, tested or complete Test.written Type.bug

Comments

@Siskin-Bot
Copy link
Collaborator

Submitted by: meijeru

the examples below do not only work with 0
>> $0 == 0
== true ; should be false
>> $0.0 == 0
== true ; should be "even more false"
>> 0.0 == 0
== false ; right!

Imported from: CureCode [ Version: alpha 57 Type: Bug Platform: All Category: Math Reproduce: Always Fixed-in:alpha 70 ]
Imported from: metaeducation#952

Comments:


Rebolbot mentioned this issue on Jan 12, 2016:
Inequality of numerical values of different types


Rebolbot added the Type.bug on Jan 12, 2016


@Siskin-Bot Siskin-Bot added the CC.resolved Issue with CureCode status built, tested or complete label May 22, 2020
@Oldes Oldes closed this as completed Jan 21, 2022
Oldes added a commit to Oldes/Rebol3 that referenced this issue Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CC.resolved Issue with CureCode status built, tested or complete Test.written Type.bug
Projects
None yet
Development

No branches or pull requests

2 participants