How to parseInt in Angular.js

前端 未结 7 1685
生来不讨喜
生来不讨喜 2020-11-28 13:07

Probably, it is the simplest thing but I couldn\'t parse a string to Int in angular..

What I am trying to do:



        
7条回答
  •  一个人的身影
    2020-11-28 14:02

    Perform the operation inside the scope itself.

    
    
    
    
    Total: {{total}}
    

提交回复
热议问题