Closed Blackbaud-JeremyRyan closed 8 years ago
Would your use case always show two decimal places? @Blackbaud-JeremyRyan
No it should be localized and hopefully have a way to specify the number of decimal places.
In v1.5.15. We provide a base configuration with percent sign and no decimal places. You can override default settings by locale by changing the bbAutonumericConfig
percent value. You can also specify options inline in the filter by passing a configuration object with jquery autonumeric options to the filter.
Expected behavior
Using
{{<value> | bb-autonumeric : 'percent'}}
should display the value with a percent signActual behavior
'percent'
is not a supported presetautonumeric.js creates a percent format using aSign of
%
and pSign ofs