The data in SQL tables stored up to 12 decimals (not exactly sure on 12) but on the front end due to the set up on the edt, it displays 2. We did the similar customization by adding new edit with 4 decimals and attaching it to price unit field.
It is very small change.
Our client wanted the prices to be maintained upto 4 decimals in sales order.