Number Flow React Native
Examples

Scientific & Engineering Notation

Animated numbers in scientific and engineering notation with superscript exponents

NumberFlow supports scientific and engineering notation via Intl.NumberFormat. Exponents are rendered automatically as superscripts at 60% scale. They are also animated independently, so changes to the exponent (e.g. E23E24) roll correctly!

Notes

  • The exponent part (e.g. E23) is detected during formatting and rendered at 60% of the base font size using a pivot-scale transform.
  • Exponent digits roll independently, just like the mantissa digits.
  • Engineering notation constrains exponents to multiples of 3 (e.g. 6.022E23602.2E21 in engineering).

On this page