change number formatter to return 0 instead of 0.0