Search

19.6.2. Format masks

download PDF
Format masks are defined in the mask attribute in a cell or formula. There are two types of format masks: one for numbers, and one for dates.

19.6.2.1. Number masks

When a format mask is encountered, a check is executed to see if the mask follows an internal form, for example, format1, accounting_float, etc. (See jxl.write.NumberFormats.)
If the mask is not part of the internal list, it is treated as a custom mask (for example, 0.00), and automatically converted to the closest match. (See java.text.DecimalFormat.)
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.