Skip to content

Decimal places are not included when using plus and mins buttons #99

@Misiu

Description

@Misiu

I have this config:

  $("#demo0").TouchSpin({
    min: 1200.22,
    max: null,
    step: 100,
    decimals: 2,
    boostat: 5,
    maxboostedstep: 10,
    postfix: '$',
    forcestepdivisibility: 'none'
  });

initial value is set to 1200.22, step to 100, so after clicking + value should change to 1300.22, but it is updated to 1300.00

touchspin_bug2

Demo: https://jsfiddle.net/Misiu/3k61s8kp/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions