check for zero bytes allocation in FormatNum