In one of the other examples I've tested it has the following statement

humid=dht[31]*128+dht[30]*64+dht[29]*32+dht[28]*16+dht[27]*8+dht[26]*4+dht[25]*2+dht[24]*1

Using
lcdout $FE,$C0,"Humidity = ",#humid,"% " gives the humidity as a percentage.

Just trying to apply this to Richards code to get the same result