angular strips decimals
| # in controller | |
| config.budget = 2.00 | |
| # in view | |
| <input type='number' step='any' ng-model='config.budget' /> | |
| # angular removes decimals ex. 2.00 becomes 2 | |
| # if I put in 2.01 I get 2.01 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment