returns the quantity c1 u1++cn un.


  • The basis {u1,,un} is typically a list of nonincreasing positive numbers.
  • In NumberCompose[clist,ulist] the length of clist can be smaller than the length of ulist, and then clist is effectively padded with zeros on the left.


open allclose all

Basic Examples  (2)

Add different denominations of money:

Add amounts of days, hours, minutes, and seconds to return seconds:

Scope  (1)

Compose exact numbers:

Compose inexact numbers:

Properties & Relations  (4)

The basic operation of NumberDecompose is Dot:

If the list of coefficients is shorter than the list of units, the former is left padded with zeros:

FromDMS is a special case of NumberCompose:

FromDigits with a MixedRadix specification performs a NumberCompose operation:

Introduced in 2015