The expression engine supports 20+ built-ins (src/interpreter/Builtins.ts) but is missing several dBASE III standards:
ROUND(n, decimals)
MOD(a, b)
MAX(a, b) / MIN(a, b)
TIME() — current time as HH:MM:SS
YEAR(date), MONTH(date), DAY(date) — numeric date parts
Builtins.ts functions are stateless and individually tiny — a great first contribution. Add each with a Vitest case (see existing function tests for the pattern). Picking just one or two of these is a perfectly fine PR.
The expression engine supports 20+ built-ins (
src/interpreter/Builtins.ts) but is missing several dBASE III standards:ROUND(n, decimals)MOD(a, b)MAX(a, b)/MIN(a, b)TIME()— current time asHH:MM:SSYEAR(date),MONTH(date),DAY(date)— numeric date partsBuiltins.tsfunctions are stateless and individually tiny — a great first contribution. Add each with a Vitest case (see existing function tests for the pattern). Picking just one or two of these is a perfectly fine PR.