Skip to content

Fix zero input handling in multiplyUsingLoopWithStringInput#263

Open
GitOn1t wants to merge 1 commit intophishman3579:masterfrom
GitOn1t:master
Open

Fix zero input handling in multiplyUsingLoopWithStringInput#263
GitOn1t wants to merge 1 commit intophishman3579:masterfrom
GitOn1t:master

Conversation

@GitOn1t
Copy link

@GitOn1t GitOn1t commented Jan 9, 2026

This PR fixes an issue where multiplyUsingLoopWithStringInput fails when one or both inputs are "0".

An early return has been added to correctly handle zero input and prevent NumberFormatException, as described in issue #165.

Return "0" early when one of the inputs is zero to prevent NumberFormatException.
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.

1 participant