Please enable JavaScript to use CodeHS

CodeHS Glossary


format specifier General

A placeholder in a format string that begins with % and controls how a value is displayed, including its type (s, d, f), precision (.2), width, and alignment (-).