Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • can u tell me how to do mathematical operation.(decodedFrame*0.23) / 162 Commented Feb 17, 2017 at 10:40
  • Can you give the exact error, it looks like you are not using $scope.decodedFrame, are you putting the code in html because I don't think this will work in html. You need to calculate it and then read the scope value in html by angular. Commented Feb 17, 2017 at 11:03
  • $scope.Value = (parseFloat(decodedFrame) * 0.23) / 162; decodedFrame is undefined Commented Feb 17, 2017 at 11:06
  • decodedFrame, is a scope property, decodedFrame doesn't exist outside the scope object. This should work (parseFloat($scope.decodedFrame) * 0.23) / 162; Commented Feb 17, 2017 at 11:10
  • Let us continue this discussion in chat. Commented Feb 17, 2017 at 11:18