问题
I would like to set decimals like #.#
but it shows always like #.##
How I can do it for jQuery Globalize?
Is any clue?
回答1:
Please try this
Check this link
$.format(45678.987, "n1")
来源:https://stackoverflow.com/questions/26996151/set-decimal-format-in-jquery-globalize