You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 24, 2018. It is now read-only.
fails because Number(10.0).toString() returns 10 since Number(10.0) and Number(10) are exactly the same thing.
It's quite likely that this is a regression introduced with 81245b0. The main question is: what's the universally applicable JavaScript code to split a number into integer and fraction regardless of (locale dependent) thousand- and decimal separator?
Setting annotation in Java
@digits(integer = 3, fraction = 0, message = "no decimals allowed")
private BigDecimal percent;
is not validating correctly. The valdr validation is not triggered when entering x.0.
Possible solution is:
angular.module('valdr')
.factory('valdrDigitsValidator', ['valdrUtil', function (valdrUtil) {
The text was updated successfully, but these errors were encountered: