Compare two value with string number and added test cases for that modif...

...ication
https://www.pivotaltracker.com/s/projects/896548/stories/53528349

### RootCause:
Sometime comparison happening between text and number in cases of Amount text field 

### Resolution:
Added number conversion for text 

### Test:
Mocha
Manual

---
__General Requirements__
- [ ] Pull Request contains a full description of the changes
- [ ] Link to the Pivotal Tracker story
- [ ] Pivotal Tracker story has a reference to this Pull Request
- [ ] Rebased against latest master branch
- [ ] All comments from code review have been addressed
- [ ] There are no `-1` code reviews (can only be overridden by Kyle)

---

__Coding Standards__
- [ ] Style guidelines are followed, code has been formatted
- [ ] Code follows idiomatic language paradigms

---

__Testing__
- [ ] Test coverage has not decreased
- [ ] There is no performance degradation
- [ ] All appropriate automated tests are present
- [ ] Appropriate seed data exists

***

__Defect__
- [ ] Feature or defect resolution has been manually tested and meets all requirements of the underlying story
- [ ] Seed data sufficient to satisfy testing resolution of defect
- [ ] Root cause analysis provided

---