I am new to angularJs. I am getting scope value from my java action as list. The price is double in database object. I need to chcek if the value is coming with decimal ex: 32.5 or not, if its 32.5 then , i need to show 32.50, if the value comes like 30.0, then it will display 30 only.
Can anyone please suggest. thanks