This repository was archived by the owner on Apr 2, 2019. It is now read-only.
Use 'D' symbol in format to specify minimal length of fractional part#84
Open
iogorodov wants to merge 1 commit intoHubSpot:masterfrom
Open
Use 'D' symbol in format to specify minimal length of fractional part#84iogorodov wants to merge 1 commit intoHubSpot:masterfrom
iogorodov wants to merge 1 commit intoHubSpot:masterfrom
Conversation
|
Thank you very much for solution !! |
Author
|
I use <span class="eur odometer" id="eur_value"></span>.eur:before {content: "\20AC\00A0";}And then set value to span via |
|
Finally, the class is now loaded but the price is placed under the Euro sign. I don't understand cos there is no breakline... |
Author
|
I've add follow lines to the bottom of my odometer's theme file: .odometer-inside {
display: inherit;
}I'm not sure about correctness of this solution and you cat try replay |
|
Ok. Thank you ! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This request address issues #45 and #63 (as far as I understand this issues duplicate each other). Now it's possible to specify minimal length of fractional part using 'D' symbol. At the same time 'd' symbol used to specify maximal length as it works in current version.
Here some examples how format works. Assume that value is
1.23:( ddd).dbecame1.2( ddd).Dbecame1.2( ddd).dddbecame1.23( ddd).DDDbecame1.230( ddd).Dddbecame1.23( ddd).DDdbecame1.23( ddd).dDwill raise exceptionLook for live sample in
trailing-zero.htmlfile intestfolder