Template:Unit cbmi

From Wikipedia, the free encyclopedia

Displays cubic miles (mi³) and converts it to cubic km (km³), with a selectable rounding parameter. It is important to note that negative values are OK for the rounding parameter, which is very useful for converting approximate quantities.

Examples:

  • {{Unit cbmi | 350}} renders as: 350 mi³
  • {{Unit cbmi | 350 | 1}} renders as: 350 mi³ (1,458.9 km³)
  • {{Unit cbmi | 350 | 0}} renders as: 350 mi³ (1,459 km³)
  • {{Unit cbmi | 350 |-1}} renders as: 350 mi³ (1,460 km³)
  • {{Unit cbmi | 350 |-2}} renders as: 350 mi³ (1,500 km³)


For usage and related templates, please see Category:Unit display