I am applying an AngularJS filter programmatically like so:
filtered = $filter('number')(value, 2);
This will give me something like 5,000.00. I need a way to take the filtered value and strip out the formatting so I can get 5000 from 5,000.00. I can do this with javascript but thought there might be a way to do this using Angular that I am not familiar with.
Thoughts?