edi-835-parser icon indicating copy to clipboard operation
edi-835-parser copied to clipboard

If billed units is a string, convert back to int

Open christopherpickering opened this issue 2 years ago • 0 comments

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.

christopherpickering avatar Jul 12 '22 14:07 christopherpickering