Different float precision for different UOMs

Can we have different precision for different types of UOMs. For example for Kgs and Mtr we need to have precision upto three digits. where as for other we need upto two digist only. We dont want to change it from global settings because it will affect to all my float fields in the system. Is there any way to achieve this kind of scenario?