dollar_millions: Format dollar amounts in terms of millions of USD

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Given a number, return a string formatted in terms of millions of dollars.

Usage

1

Arguments

x

A number.

Value

String in the format of $xM.

Examples

1
dollar_millions(1.523 * 10^6)

evaluator documentation built on July 6, 2021, 9:06 a.m.