Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use parse int and also get the value and not the html element #1815

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

AlasDiablo
Copy link
Collaborator

No description provided.

@AlasDiablo AlasDiablo added the 👷‍♂️ Ready For Review PR en attente de relecture et de validation label Nov 30, 2023
@parmentf
Copy link
Contributor

Do you use parseInt() for a particular usage?
I prefer using Number(), as it has only one parameter, contrary to parseInt(), which can lead to errors when used within a map.
However, parseInt can be practical when you want to parse a string beginning with a number.

parseInt("12kjhiut") // returns 12

@parmentf parmentf merged commit ef856e0 into master Dec 5, 2023
9 checks passed
@parmentf parmentf deleted the fix/bar-chart-value branch December 5, 2023 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👷‍♂️ Ready For Review PR en attente de relecture et de validation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants