Rounding with the sprintf() function in the fmt argument

Description

Rounding with the sprintf() function in the fmt argument

Usage

fmt_sprintf(fmt)

Arguments

fmt A string to control sprintf(), such as “%.3f” to keep 3 decimal digits. See ?sprintf