adding percent value format

This commit is contained in:
Will Charczuk 2016-07-14 11:21:41 -07:00
parent e7c2568a69
commit 1cbfb53b11
2 changed files with 11 additions and 0 deletions

View file

@ -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 (