Angularjs Number filter returing NaN

199 views
Skip to first unread message

biswarup dasgupta

unread,
Apr 7, 2015, 6:18:12 AM4/7/15
to ang...@googlegroups.com, biswarup...@accenture.com
Hi,

I am using the number filter in AngularJS and on some occasions the filter is returning NaN.

I am just wondering what is happening because of which it returns NaN.

In the example present at https://docs.angularjs.org/api/ng/filter/number, try inputing a number which is more than 17 digits and less than 22 digits (ex. 100000000000000000) and apply a number filter of more than 1

Any pointers will be greatly helpful !

Thanks.

biswarup dasgupta

unread,
Apr 7, 2015, 6:22:31 AM4/7/15
to ang...@googlegroups.com, biswarup...@accenture.com
Corrected the digits between which the NaN values are seen (> 18 & < 22)


On Tuesday, April 7, 2015 at 3:48:12 PM UTC+5:30, biswarup dasgupta wrote:
Hi,

I am using the number filter in AngularJS and on some occasions the filter is returning NaN.

I am just wondering what is happening because of which it returns NaN.

In the example present at https://docs.angularjs.org/api/ng/filter/number, try inputing a number which is more than 18 digits and less than 22 digits (ex. 100000000000000000) and apply a number filter of more than 1
Reply all
Reply to author
Forward
0 new messages