Hello World

Numbers, units and phone numbers

All chapters

Part 3 · Numbers, money, time and place

Numbers, units and phone numbers

Chapter 11 18 min read 11 sections

What does "1.234" mean?

To an American or a Brit, it's one and a bit. To a German, a Spaniard or an Italian, it's one thousand two hundred and thirty-four. Same characters, two numbers a thousand times apart.

Now put that in a quantity field on a checkout page, or a price in an import file, and think about who reads it which way.

Numbers feel like the one part of an app that doesn't need localising. A number is a number. But the way people write numbers, the units they measure in, and the way they write phone numbers all change from country to country, and all three end up in your forms every day.

Keep reading

The rest of this chapter is for readers of the book

Get the book to read the rest of this chapter and every other one, the field guide and the glossary, and to download the whole book as a PDF.

Still to come in this chapter

  • The same number, written five ways
  • Let the platform format numbers
  • Units of measurement
  • Not every number uses the digits 0 to 9
  • Parsing what people type is harder than formatting
  • Phone numbers
  • Store E.164, display the local format
  • What a phone number doesn't tell you
  • Designing phone number fields
  • Checklist
  • Further reading