added float_to_decimal

for python 2.6