Can someone please help me which this issue? <http...
# compose
a
r
a
Thanks Rick, I guess I got my answer now.
r
You don't show the code for getFormattedAmount(), but I think the fix is to remove anything at the 6th digit and beyond, not just the 6th (last) digit.
a
Yeah, I had to rewrite the getFormattedAmount function to not depend upon previous input and format the given string independently. Seems to work now, will update the answer on SO shortly.