I am using DHT11 and GrovePi+ shield with Pi 2 running Raspbian Jessie.
The following is the function call for the sensor to fetch current humidity and temperature
[ temp,hum ] = dht(dht_sensor_port,0)
The problem is that it returns only the values before decimal. The values after decimal are truncated to 0.
Please do let me know if I am missing anything or the sensor needs to be replaced with a DHT22.