adding percent value format
This commit is contained in:
parent
e7c2568a69
commit
1cbfb53b11
2 changed files with 11 additions and 0 deletions
|
|
@ -59,6 +59,8 @@ const (
|
|||
DefaultDateHourFormat = "01-02 3pm"
|
||||
// DefaultFloatFormat is the default float format.
|
||||
DefaultFloatFormat = "%.2f"
|
||||
// DefaultPercentValueFormat is the default percent format.
|
||||
DefaultPercentValueFormat = "%0.2f%%"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue