Skip to content
New issue

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

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

Already on GitHub? # to your account

<= not defined for Decimal #46

Closed
nicoleepp opened this issue Jan 24, 2020 · 0 comments · Fixed by #47
Closed

<= not defined for Decimal #46

nicoleepp opened this issue Jan 24, 2020 · 0 comments · Fixed by #47

Comments

@nicoleepp
Copy link
Contributor

MWE on julia 1.3 and Decimals v0.4.0:

julia> using Decimals

julia> x, y = decimal("0.2"), decimal("0.1");

julia> x >= y
ERROR: <= not defined for Decimal
Stacktrace:
 [1] error(::String, ::String, ::Type) at ./error.jl:42
 [2] no_op_err(::String, ::Type) at ./promotion.jl:410
 [3] <=(::Decimal, ::Decimal) at ./promotion.jl:427
 [4] >=(::Decimal, ::Decimal) at ./operators.jl:333
 [5] top-level scope at none:0
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant