Set decimal format in jQuery Globalize

1.1k Views Asked by At

I would like to set decimals like #.# but it shows always like #.##

How I can do it for jQuery Globalize?

Is any clue?

1

There are 1 best solutions below

0
On BEST ANSWER

Please try this

Check this link

$.format(45678.987, "n1")