Skip to content
Design Corner Knowledge Base ← Back to designcorner.co.ke
Knowledge Base

Software and Development

Floating-Point Number

Also known as: Float

1 min read Updated November 10, 2026

Definition A floating-point number is the way computers store numbers with decimals, in a form similar to scientific notation.

What it is

It can cover very large and very small values but is only approximate. Tiny rounding errors can appear.

Why it matters for your business

Using it for money can cause errors in accounts. Developers should know this to avoid mistakes in invoices.

Real-world example

In many languages 0.1 + 0.2 comes out as 0.30000000000000004.

Design Corner tip

Ask developers to store money as whole cents or use exact decimal types.