One of the functions of money as a means of payment is that it performs the role of what is called as a numeraire: all prices are quoted in terms of money. By contrast, when there are N items in a barter economy, there are N (N− 1)/2 relative prices in any given period.