# More billing coding confusion

**URL:** <https://community.open-emr.org/t/more-billing-coding-confusion/12612>\
**Category:** OpenEMR Development\
**Created:** [August 12, 2019, 5:34pm UTC](https://community.open-emr.org/t/more-billing-coding-confusion/12612 "2019-08-12T17:34:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![growlingflea](https://community.open-emr.org/user_avatar/community.open-emr.org/growlingflea/32/15498_2.png) [@growlingflea](https://community.open-emr.org/u/growlingflea)\
**Post date:** [August 12, 2019, 5:34pm UTC](https://community.open-emr.org/t/more-billing-coding-confusion/12612/1 "2019-08-12T17:34:17Z")

</div>

I noticed in the edit\_payment.php file in 500, 501, and 502, when a value pulled from ar\_activity is equal to zero, it replaces the value with an empty string. Please view the below code:

 ![image](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/2/2ab0185b5bcfe3ce93d0631ad77ebe87af060b4c.png)

Later on in the code we expect these values to be numeric, but sometimes they are an empty string. For example, the variable $AdjAmountDB

 ![image](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/d/d141562b84e4a3f5138501ef2c4ef8cd3b76e39b.png)

This causes a ton of warnings. Can someone explain the justification for this code? It doesn’t make sense. Would it be better to remove the code that converts a number to an empty string?
