Excel is replacing blank value

before writing to excel replace all null value with a zero and then write to excel.