Skip to content

Your first Zlv sheet: a five-minute tutorial

A five-minute Zlv tutorial: write lines, name values, add comments, use percentages and units, reuse the previous result and save the sheet to a file.

This tutorial builds a small freelance budget step by step. You can follow along in the desktop app, in the web app, or directly in the live examples on this page.

Step 1: type a calculation

Type any calculation on a line. The result appears to the right as you type; there is nothing to press.

Live example
Edit the lines and press Run. Evaluated in your browser.

Evaluating…

Step 2: name your values

Give a value a name with =, then use the name on later lines. Names can contain letters, digits and underscores, such as hourly_rate. Use the same spelling each time you refer to a name.

Live example
Edit the lines and press Run. Evaluated in your browser.

Evaluating…

Now change hours to 40. Every line below it updates at once. That is the core idea of Zlv: a sheet is a live model, not a list of one-off answers.

Step 3: add headings and notes

Lines that start with # or // are comments. You can also add a comment at the end of a calculation.

Live example
Edit the lines and press Run. Evaluated in your browser.

Evaluating…

Step 4: percentages and money

Write percentages the way you would say them, and put a currency symbol on amounts.

Live example
Edit the lines and press Run. Evaluated in your browser.

Evaluating…

Step 5: units

Add a unit after a number and convert it with in or to.

Live example
Edit the lines and press Run. Evaluated in your browser.

Evaluating…

Step 6: reuse the previous answer

prev (or ans) is the result of the line above, even across comments and blank lines.

Live example
Edit the lines and press Run. Evaluated in your browser.

Evaluating…

Step 7: save your sheet

In the desktop app your sheets are saved automatically, so nothing is lost if you close the window. To keep a sheet as a file, press Ctrl+S and choose a folder and file name. The file is saved as .zlv, which is plain text you can open in any editor. Read Saving, opening and exporting for the other formats.

What to learn next

All guides