format_big_number: Format an object with a comma

View source: R/format_big_number.R

format_big_numberR Documentation

Format an object with a comma

Description

Format an object using a comma and rounding to the nearest integer.

Usage

format_big_number(x, digits = 0)

Arguments

x

A vector that will be passed to format().

digits

The number of digits you want to include when rounding and using round(digits = digits).

Value

Character values are returned using format().

Examples

# Remove tenth
format_big_number(1.1)

pacific-hake/hakedataUSA documentation built on June 2, 2025, 4:05 a.m.