Skip to content

Update condition for decimal character to prevent forceclose.#7

Open
ba-amin wants to merge 1 commit intoappbrewery:masterfrom
ba-amin:master
Open

Update condition for decimal character to prevent forceclose.#7
ba-amin wants to merge 1 commit intoappbrewery:masterfrom
ba-amin:master

Conversation

@ba-amin
Copy link

@ba-amin ba-amin commented Jul 17, 2022

Previous logic occurred force close with this input: "1.00."

floor("1.00.") == "1.00."

instead, check whether the "." character is existed or not.

Current logic occurred force close with this input: "1.00."

floor("1.00.") == "1.00."
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