0

I am using jQuery Spinner like this

 $( "#spinner" ).spinner({
      step: 0.1,
      numberFormat: "n"
    });

And it shows always numbers like 0.01 but I need to show it like 0.1.

By API it seems like is impossible to do http://api.jqueryui.com/spinner/#option-numberFormat

Any clue?

NoWar
  • 36,338
  • 80
  • 323
  • 498

1 Answers1

0

Well...

Thanks all guys for their comments

Here is the answer

Set decimal format in jQuery Globalize

$( "#spinner" ).spinner({
      step: 0.1,
      numberFormat: "n1"
    });
Community
  • 1
  • 1
NoWar
  • 36,338
  • 80
  • 323
  • 498