spivurno
5/19/2016 - 12:49 PM

Gravity Wiz // Gravity Forms // Three Decimal Currencies

Gravity Wiz // Gravity Forms // Three Decimal Currencies

<?php
/**
 * Gravity Wiz // Gravity Forms // Three Decimal Currencies
 * http://gravitywiz.com/how-to-add-three-decimals-with-gravity-form-currencies/
 */ 
add_filter( 'gform_currencies', function( $currencies ) {
  $currencies['EUR']['decimals'] = 3;
  return $currencies;
} );