<html lang="it-it" dir="ltr"><head></head><body># edd_format_amount()

 Questa funzione può essere utilizzata per formattare un dato prezzo. Restituirà il risultato formattato al numero corretto di decimali.

```
echo edd_format_amount( 9.5 );
```

 Potresti combinarla con edd\_get\_download\_price() per restituire il prezzo formattato per qualsiasi download:

```
echo edd_format_amount( edd_get_download_price( $download_id ) );
```

 Se desideri includere un simbolo di valuta, puoi filtrare l'output con edd\_currency\_filter.

```
echo edd_currency_filter( edd_format_amount( edd_get_download_price( $download_id ) ) );
```</body></html>