Formatting & presenting reports

Number & date formats

Currency, percentages, dates and custom format codes that survive the round trip.

The same stored number 0.1234 displayed three ways through number format codes: 12.3% as a percentage, $0.12 as currency, and 0.1234 as a plain decimal.The same stored number 0.1234 displayed three ways through number format codes: 12.3% as a percentage, $0.12 as currency, and 0.1234 as a plain decimal.one stored value, many displaysABC1StoredFormat codeShows20.12340.0%12.3%30.1234"$"#,##0.00$0.12445292yyyy-mm-dd2024-01-01

Start with the full guides

The long-form treatment of number & date formats, with the reasoning the shorter pages assume.

Step-by-step how-tos

One task each, with code you can copy, run and adapt.

Compare the options

Which tool or approach to pick, and why.

When it breaks

The errors this topic produces, with the cause explained rather than just the fix.

Follow it through a track

Prefer an ordered route? These tracks cover number & date formats along the way, in the order that builds on itself.

Related topics

Subjects that keep turning up on the same pages as this one, most overlap first.

Number & date formats is part of Formatting & presenting reports.