Fix format number zero return empty string instead of zero

empty can't be used, with $number = 0, empty return true.