Decimal places in Purchase Invoice

Hi ,
Can you help me please.How can i add decimal place in all my transactions(Sales invoice,Purchase invoice)?I have already unchecked the whole number in the UOM .

I have also set the float precision and currency precision to 5.Still i could not input decimal places in the rate and amount field.

I think you can change the number format. You have allowed for decimal places, but not for the display of them.
Try changing the format to #,###.## (which should show 2 decimal places). You could also do #,###.##### if you want 5 places