Skip to content

Glossary: SQL Basics

printf

A SQLite function that formats a number as text, such as `printf('$%.2f', 59.4)` giving `$59.40`. Use it only for final display, since the output is text.

Where the book teaches it

Related terms

ROUND