Snippet for currencies

Hi all,
I have this Snippet (below) for currencies that when I use it, modifies all forms. Could someone tell me how I can modify it to be able to apply it only on some forms?

add_filter( 'gform_currencies', function( $currencies ) {
$currencies['EUR']['decimals'] = 3;
return $currencies;
} );


gform_currencies is a global setting. The filter can’t be used to allow different currencies on a per-form basis. There is a third party plugin that might help you:

Also, gform_currencies is a filter that allows you to add, edit or remove currency options from the site. Can you explain what you’re trying to accomplish? Thank you.