Hi,
I am guessing that because the script is in the caculation event and there is no data in the other field, it is showing a zero.
You could try an IF statement in the calculation event, which first checks if the other field is null. If it is then it would set the current field to null as well. If the other field hasValue then the calculation would be processed.
Good luck,
Niall