The photon reads temperature and humidity using a DHT11 sensor.

I measure a sensor 5 times and publish the mean (+100 for debugging) of the readings using Particle.publish().

I would then expect that if the computations or the sensor readings would be zero, then the published value would be 100, but instead I see that the published value is 0;

Here is a graph of the published values:

How do I fix this problem?