How to add more decimal places in Currency field [RESOLVED]

Does anyone know how to expand the decimal places on the Currency field? It currently rounds to two places, like $1.50

I need to give users the ability to enter at least up to 5 decimals, like $1.12345

This works on the Number format setting, but it removes the $ sign. I need to keep the $ sign.

Any help would be greatly appreciated.

The number of decimal places is defined in the currency configuration. You can change that in your theme functions.php file or a custom functions/code snippets plugin by using the gform_currencies filter.

It worked! Thank you!