format_count: Format an integer count with locale-aware thousands separator

View source: R/number_utils.R

format_countR Documentation

Format an integer count with locale-aware thousands separator

Description

Formats integer values with a thousands separator for display in tables. Values below 1000 are returned as plain character strings.

Usage

format_count(n, marks)

Arguments

n

Integer count value.

marks

List with big.mark and decimal.mark as returned by resolve_number_marks.

Value

Character string with the formatted count.


summata documentation built on May 7, 2026, 5:07 p.m.