Tables & data
Format numbers, currency and dates
Your data stores values one way — 1240.5, 2026-06-11T10:30:00Z — and your reader expects to see them another: $1,240.50, Jun 11, 2026. Formatting closes that gap at render time, without changing the data. The format belongs to the place a value is printed, so the same field can print as currency in a table column and as a plain number in a sentence.
Two settings work together. Each value's own format menu says what kind of value it is, and the document's Locale & currency settings say how that kind looks.
Before you start
- In the hosted app, changing a template needs the editor role or higher (roles run viewer, editor, admin, owner). Local mode is single-user and has no roles.
- Formats apply to field, formula and total runs — the data-bound pieces of an element's text. See Text runs.
- While you are reviewing changes Buddy proposed, the properties panel is paused until you accept or discard them.
Choose a value's format
- Select the element and open the properties panel with the button at the far right of the app bar (tooltip Show properties panel). ⌘. (Ctrl+. on Windows) works too.
- Find the run — in a heading's or paragraph's Content, a list item, a column's Cell content or Footer / total, a group header, a subtotal or a sub-row cell — and press its ⋯.
- Pick from the format menu (tooltip Format).
| Format | What prints, with the document set to en-US |
|---|---|
| Default | For a field, the value exactly as stored, such as 1240.5. For a formula or total, a number, as below |
| Text | The value exactly as stored |
| Number | 1,240.5 — the locale's separators, up to three decimal places |
| Currency | $1,240.50 — the currency's usual number of decimal places |
| Percent | 19% from a stored 0.19, up to two decimal places |
| Date | Jun 11, 2026 — in the document's Date format |
| Date & time | The date and then the time, in the Date format and Time format |
| Time | Only the time, such as 10:30 AM — in the Time format. Use it for start and end times |
A value that cannot be read as the chosen kind — text under Number, something that is not a date under Date — prints as stored. A missing value prints nothing, and so does a value that is present but blank.
Set the document's locale and currency
These settings cover the whole template. Switch the properties panel from Selection to Document with the control at its top, and find Locale & currency.
- Locale — a language-and-region tag such as en-GB, de-DE or fr-FR. It sets the decimal and thousands separators, where the currency symbol sits under Auto, and the order and month names of the named date formats. A tag Weft does not recognise is refused with a message, and the previous locale stays.
- Currency — a three-letter code such as EUR or GBP, used by every currency value that has no currency of its own. Anything else is refused and the box returns to the current code.
- Symbol position — Auto follows the locale (Turkish places the symbol after the amount); Before and After override it.
- Display — Symbol prints $ or €; Code prints USD or EUR.
A Currency preview line underneath shows 1234.56 as it will print. A blank template starts with en-US and USD. With de-DE and EUR, 1240.5 as currency prints 1.240,50 €.
Give one value its own currency
Choose Currency in a field run's format menu and two boxes appear in its options:
- Currency — a fixed code for this value only. Empty, it shows Theme default and uses the document's currency.
- Currency path — a field holding the code for each record, such as
item.CurrencyIsoCode. When that field holds a three-letter code in capitals, such as EUR, it wins over Currency.
The boxes are on field runs in headings, paragraphs and tables, including footers, group rows and sub-rows. List items, formulas and totals do not have them; a formula or total in Currency format uses the document's currency. A template Buddy produced can also give a table a currency per row, which that row's values use unless they set their own. Switching a field away from Currency clears both boxes.
Dates and times
Date format sets how every Date value prints, and the date half of every Date & time:
- Short, Medium, Long and Full follow the locale's order and month names. Medium is the default.
- DD.MM.YYYY, DD/MM/YYYY, MM/DD/YYYY and YYYY-MM-DD print exactly that pattern, whatever the locale.
Each option in the menu shows the same example date in its style, so you can compare them before choosing. Time format — Short (the default), Medium or Long — affects Date & time and Time values.
Both are document-wide: every date in the template uses the same date format, and one value cannot have its own.
Time zone
Salesforce and HubSpot store every date and time in UTC, and change it to each person's own time zone only on their own screens. So a meeting someone booked for 9:30 in London in summer arrives in Weft as 08:30 UTC. Time zone, in Locale & currency under the date and time formats, chooses the clock your Date & time and Time values print in:
- Company zone (the connected org's) — the default. The time zone in your Salesforce org's Company Information, or your HubSpot account's time zone.
- The person's own Salesforce zone — the time zone in the Salesforce settings of the person whose own login read the data. When the data is read through a shared login — the one a Salesforce button uses for everyone — and with HubSpot, which has no personal time zone, this prints the company zone instead.
- As stored (UTC) — exactly what the source sent.
- A specific zone — pick one in the Zone box that appears, such as America/Chicago.
The line under the menu names the zone your date-times print in right now. Weft only knows the company or personal zone when the document has a data source to read it from: on sample data, in local mode, or when Salesforce does not let your login read the org's time zone, they print in UTC. The editor uses the zone of the data source you choose in the data pill, so the page you see and the PDF print the same clock.
The time zone never moves:
- a date with no time, such as a close date — it prints the date the record holds;
- a time with no date, such as a Salesforce Time field — it prints as stored;
- a date or time with no zone of its own, typed into sample data — it prints as written.
What you cannot set by hand
The properties panel has no control for:
- a fallback — what to show when a value is empty;
- the number of decimal places;
- the thousands separator;
- treating a stored 19 as 19% rather than 1,900%.
A template Buddy produced or edited can carry these settings, and they print as set, but the panel neither shows nor changes them. To ask for one, see Ask Buddy to edit. For whole-number percentages there is also a hand route: a formula of the field ÷ 100 in Percent format prints 19% from a stored 19 — see Formulas.
Good to know
- A format changes how a value prints, never the value itself. Totals and formulas work from the stored number, not the formatted text.
- Locale, currency, date and time zone settings are saved with each template; changing them in one template does not change another.
- Every value in a template uses the same locale; one value cannot print in another.