Format an integer for display

Description

Formats numeric values as integers (no decimal places). Use for n, N, df, k, and other count variables.

Usage

format_int(x)

Arguments

x Numeric value to format as integer.

Value

A character string.

Examples

[1] "25"
[1] "25"