Skip to content

Fix incorrect multiplication example in documentation#91

Closed
lioniqs wants to merge 1 commit intobrick:masterfrom
lioniqs:patch-1
Closed

Fix incorrect multiplication example in documentation#91
lioniqs wants to merge 1 commit intobrick:masterfrom
lioniqs:patch-1

Conversation

@lioniqs
Copy link
Copy Markdown

@lioniqs lioniqs commented Apr 19, 2025

Fixed an error in the documentation example where the result of multipliedBy() was incorrect.

Fixed an error in the documentation example where the result of multipliedBy() was incorrect.
@BenMorel
Copy link
Copy Markdown
Member

Hi, no the result is actually 30, not 45.

BigInteger is immutable, so $ten is not affected by the previous line!

@BenMorel BenMorel closed this Apr 19, 2025
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