Add decimal and float range query

I am extending @akm integer range query code to float
and decimal fields.