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

I added comments to describe the purpose of fuctions. #2064

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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