ValueRenderOption
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
קובעת את האופן שבו הערכים יוצגו בפלט.
טיפוסים בני מנייה (enum) |
FORMATTED_VALUE |
הערכים יחושבו ויועברו בתגובה בפורמט שמוגדר לתא. הפורמט מבוסס על הלוקאל של הגיליון האלקטרוני, ולא על הלוקאל של המשתמש המבקש. לדוגמה, אם הערך של A1 הוא 1.23 והערך של A2 הוא =A1 בפורמט מטבע, הפונקציה A2 תחזיר את הערך "$1.23" . |
UNFORMATTED_VALUE |
הערכים יחושבו, אבל לא יותאמו לפורמט בתשובה. לדוגמה, אם הערך של A1 הוא 1.23 והערך של A2 הוא =A1 בפורמט של מטבע, הפונקציה A2 תחזיר את המספר 1.23 . |
FORMULA |
הערכים לא יחושבו. התשובה תכלול את הנוסחאות. לדוגמה, אם הערך של A1 הוא 1.23 והערך של A2 הוא =A1 בפורמט מטבע, התא A2 יחזיר את הערך "=A1" . ערכים של תאריכים ושעות ב-Sheets נחשבים לערכים עשרוניים. כך אפשר לבצע פעולות חשבון בנוסחאות. מידע נוסף על פרשנות של ערכי תאריך ושעה זמין במאמר מידע על ערכי תאריך ושעה. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-03-22 (שעון UTC).
[null,null,["עדכון אחרון: 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). |"]]