Docs / Math, units & currency

Math, units & currency

Calculate in plain prose, convert money and measures, and pull in live stock prices — inline.

A math region is a calculator that reads prose. Write numbers the way you’d say them — names, units and currencies included — and the answers appear inline.

Three flavors

Math regions come in three flavors. Pick one from the calculator button on the add bar, or type its tag after the fence — math, tape or ledger.

Math shows a result when a line ends with an equals sign, so prose and sums can share a region.

Tape calculates every line on its own and right-aligns the result at the edge of the region, like the paper roll of an adding machine — no equals signs to type.

12.40 + 3.80        16.20
3 * 2.60             7.80
15% of 16.20         2.43

Ledger does the same in a shaded results column and adds a running Total at the bottom. Amounts in different currencies are converted before they are added; values that can’t be added together are left out of the total.

Everything below works the same in all three.

Arithmetic

Standard arithmetic works as you’d expect, including parentheses, powers and functions:

team   : 7
pizzas : ceil(team / 2)
slices : pizzas * 8
slices / team = 4.57

2 ^ 16 = 65,536

Percentages

Percentages are written the natural way:

dinner : 86
dinner + 18% = 101.48
240 - 20% = 192
15% of 5400 = 810

Units

Convert between physical units with to. Notulee carries the dimensions through the maths, so it can catch nonsense conversions:

2 km to mi   = 1.24 mi
180 C to F   = 356 F
1500 g to kg = 1.5 kg

Currency

Currencies convert the same way. Rates are fetched once and cached locally, so conversions keep working offline:

4.50 USD to GBP = 3.56 GBP

You can also pin your own rate for any currency code — useful for a fixed budget rate, or when you’d rather not fetch live rates at all.

Stocks

Experimental. Stock quotes are an experimental feature and may change.

Reference a stock by its ticker with a $ prefix and Notulee fills in the latest price. A ticker behaves like any other value, so it flows through the rest of your maths — multiply by your shares, convert to a currency, or total a position:

shares : 40
$AAPL = 232.10 USD
shares * $AAPL = 9,284 USD
$SAP.DE to USD = 271.40 USD

Hover a ticker to see the quote and refresh it. International symbols work too — add the exchange suffix, like $SAP.DE (Frankfurt) or $7203.T (Tokyo). Quotes are fetched on demand and cached, so editing a note doesn’t re-fetch on every keystroke.

Currency and stock quotes are the only features that touch the network, and they never send your note content — only a public currency code or a ticker symbol. See Privacy.