-
Notifications
You must be signed in to change notification settings - Fork 115
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
add precision option #134
add precision option #134
Conversation
789e128
to
5ab7f1e
Compare
1 similar comment
1 similar comment
How do I exercise this from code? |
@dblock, you might execute |
I would add a test that calls that @Neodelf. Next this needs a README and a CHANGELOG update, please. And the build to pass. |
I would just remove rbx from travis. |
@dblock you want to remove 'rbx' and 'jruby' versions in '.travis.yml`? |
3e28967
to
421380f
Compare
1 similar comment
1 similar comment
1 similar comment
1 similar comment
|
||
* Your contribution here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Put this line back ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
I just want the build to pass, and I don't care enough about JRuby and definitely not about RBX to waste your time. From tests it's not clear that you can do |
I just followed convention about existed tests to order to new tests are easy to fit in existence
What do you suggest? |
421380f
to
c35047f
Compare
1 similar comment
Looking at existing tests maybe I'm asking for something we don't need. I'm happy with the PR as long as you can please help fix the build? |
Just remove rbx or add it to |
a8fed9f
to
4ef2f89
Compare
@dblock yes, I removed it) |
@@ -15,3 +15,16 @@ to_words: | |||
21.77: двадцать одна целая и семьдесят семь сотых | |||
111.999: сто одиннадцать целых и девятьсот девяносто девять тысячных | |||
4242.7463: четыре тысячи двести сорок двe целых и семь тысяч четыреста шестьдесят три десяти тысячных | |||
fractions_with_precision: | |||
options: | |||
:precision: 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be precision: 2
? (as well as the others)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately, no
4ef2f89
to
87a8bc3
Compare
update travis rubinius version
87a8bc3
to
7f5cabd
Compare
I made a couple minor suggestions, but it's OK as it is. |
Merged. |
Add precision option to #to_words