Skip to content

Conversation

@InvisibleSmiley
Copy link

@InvisibleSmiley InvisibleSmiley commented Dec 20, 2023

This is for #13 which has not been resolved to my satisfaction.

I noticed that the $scale parameter of the divide signature has no default value.
Is that on purpose? Seems like a bug/oversight to me.

@dereuromark dereuromark merged commit 0e8ee11 into php-collective:master Dec 20, 2023
@InvisibleSmiley InvisibleSmiley deleted the fix-scaledoc branch December 20, 2023 11:43
@InvisibleSmiley
Copy link
Author

I noticed that the $scale parameter of the divide signature has no default value. Is that on purpose? Seems like a bug/oversight to me.

Can you please comment on this part?
I'd like to know whether I should open an issue about it or not.

@dereuromark
Copy link
Contributor

See #10
The main idea was that here it should be more user-invoked and not auto detected to avoid accidental loss of precision
But if this is not needed, we could think of removing this to make the API more consistent.

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.

3 participants