add decimal and float range query

extending @akm integer range query code to float
and decimal fields
Merge pull request #1530 from thiagobrandam/decimal_and_float_comparison

Add decimal and float range query