ValueRenderOption
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Determina la modalità di visualizzazione dei valori nell'output.
Enum |
FORMATTED_VALUE |
I valori verranno calcolati e formattati nella risposta in base alla formattazione della cella. La formattazione si basa sulle impostazioni internazionali del foglio di lavoro, non su quelle dell'utente che ha effettuato la richiesta. Ad esempio, se A1 è 1.23 e A2 è =A1 e formattato come valuta, A2 restituirà "$1.23" . |
UNFORMATTED_VALUE |
I valori verranno calcolati, ma non formattati nella risposta. Ad esempio, se A1 è 1.23 e A2 è =A1 e formattato come valuta, A2 restituirà il numero 1.23 . |
FORMULA |
I valori non verranno calcolati. La risposta includerà le formule. Ad esempio, se A1 è 1.23 e A2 è =A1 e sono formattati come valuta, A2 restituirà "=A1" . Fogli tratta i valori di data e ora come valori decimali. In questo modo puoi eseguire operazioni aritmetiche nelle formule. Per ulteriori informazioni sull'interpretazione dei valori di data e ora, consulta Informazioni sui valori di data e ora. |
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-03-22 UTC.
[null,null,["Ultimo aggiornamento 2025-03-22 UTC."],[],[],null,["# ValueRenderOption\n\nDetermines how values should be rendered in the output.\n\n| Enums ||\n|---------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `FORMATTED_VALUE` | Values will be calculated \\& formatted in the response according to the cell's formatting. Formatting is based on the spreadsheet's locale, not the requesting user's locale. For example, if `A1` is `1.23` and `A2` is `=A1` and formatted as currency, then `A2` would return `\"$1.23\"`. |\n| `UNFORMATTED_VALUE` | Values will be calculated, but not formatted in the reply. For example, if `A1` is `1.23` and `A2` is `=A1` and formatted as currency, then `A2` would return the number `1.23`. |\n| `FORMULA` | Values will not be calculated. The reply will include the formulas. For example, if `A1` is `1.23` and `A2` is `=A1` and formatted as currency, then A2 would return `\"=A1\"`. Sheets treats date and time values as decimal values. This lets you perform arithmetic on them in formulas. For more information on interpreting date and time values, see [About date \\& time values](https://developers.google.com/workspace/sheets/api/guides/formats#about_date_time_values). |"]]