String calc returns zero for an empty string