Skip to content

Conversation

yashhhxzzz
Copy link

@yashhhxzzz yashhhxzzz commented Sep 20, 2023

it's my first commit, i am looking forward to get a feedback on this.

Fixes #.

added comments to describe the functions. and it's working

Description of the changes:

-added comments to describe the purpose of the TrimTrailingZeros function, its parameters, and its steps.
improved the comment for the first if statement to clarify that it checks for the presence of a decimal point.
added a comment to explain the purpose of the second if statement, which removes the trailing decimal point if it exists.

How changes were validated:

-i manually tested all the changes

it's my first commit, i am looking forward to get a feedback on this.
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