now trims null bytes from number conversions