Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

pull request for issue 78#93

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
flube2 wants to merge1 commit intoshekhargulati:master
base:master
Choose a base branch
Loading
fromflube2:78-add-format-number-function

Conversation

@flube2
Copy link

For a software design class we were to write a patch, whether it was accepted or not. Due to this, we implemented the code for this issue before submitting a pull request. If changes are needed, let me know.

StrmanTests.java - Test cases created and added to file
NumberFormatOptions.java - Created for implementing formatting options
Strman.java - formatNumber() implemented

The only huge deviation so far is that the desired argument passed to the formatNumber() function was listed on shekargulati/strman-java as type "long". This will not work with decimal numbers. Changing it to "double" solves all problems that we had encountered.

@codecov-io
Copy link

Codecov Report

Merging#93 intomaster willdecrease coverage by0.07%.
The diff coverage is93.54%.

Impacted file tree graph

@@             Coverage Diff              @@##             master      #93      +/-   ##============================================- Coverage     98.87%   98.79%   -0.08%- Complexity      202      222      +20============================================  Files             3        4       +1       Lines          4183     4245      +62       Branches         55       66      +11     ============================================+ Hits           4136     4194      +58  Misses           24       24- Partials         23       27       +4
Impacted FilesCoverage ΔComplexity Δ
src/main/java/strman/NumberFormatOptions.java100% <100%> (ø)5 <5> (?)
src/main/java/strman/Strman.java87.4% <91.83%> (+0.63%)215 <15> (+15)⬆️

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last update7b552eb...28546ed. Read thecomment docs.

@shekhargulati
Copy link
Owner

@flube2 I have started review of this PR. Will try to do it by EOD

@shekhargulatishekhargulati self-requested a reviewSeptember 1, 2017 05:03
@flube2
Copy link
Author

Ok let me know if there are any changes you would like me to make

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@shekhargulatishekhargulatiAwaiting requested review from shekhargulati

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@flube2@codecov-io@shekhargulati

[8]ページ先頭

©2009-2025 Movatter.jp