Skip to content

Allow numerics to be decimals fixes #22#23

Merged
Skybound1 merged 1 commit into
ReversecLabs:mainfrom
rikkuness:decimal-datatypes
Jun 17, 2025
Merged

Allow numerics to be decimals fixes #22#23
Skybound1 merged 1 commit into
ReversecLabs:mainfrom
rikkuness:decimal-datatypes

Conversation

@rikkuness

Copy link
Copy Markdown
Contributor

I don't know if this is the preferred way of testing for decimals, I suppose the alternative could be to try/catch the Int conversion and if it fails, try again as a real.

This solution does work for my use case at least.

@Skybound1 Skybound1 self-requested a review June 17, 2025 10:18
@Skybound1

Copy link
Copy Markdown
Collaborator

Nice, I'm happy with that :) Cheers for the contribution :D

@Skybound1 Skybound1 merged commit 81ee9d4 into ReversecLabs:main Jun 17, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants