Skip to contents

Format Numbers to Fixed Decimals

Usage

fmt_num(x, digits = 2)

Arguments

x

Numeric value

digits

Number of decimal places (default: 2)

Value

Formatted character string