edi-835-parser
edi-835-parser copied to clipboard
If billed units is a string, convert back to int
All 835's come in with an int here, and even the default value you have is an int... however, Cigna, in their infinite wisdom, is using floating point as a string, ex: 100.00 or 25.00 to specify the number of units.
This should covert it back to int to match all the other vendor files.
I had to convert to float first as there is a decimal value of "00" always there.