It appears as if AngularJS\'s angular.isNumber is not working. It doesn\'t work with strings that are numbers. Am I doing something wrong? Should I just use
angular.isNumber
Use it as below,
angular.isNumber(eval('99.55'))
for other expressions also we may use eval(input). Note: eval() is a javascript method
eval(input)
eval()
Edit: It is not recommended to use eval(), as document says Never use eval()!
Thanks @Diogo Kollross