punto_migliaia: Format numbers with . as thousand separator and comma for...

View source: R/punto_migliaia.R

punto_migliaiaR Documentation

Format numbers with . as thousand separator and comma for decimal separator

Description

Format numbers with . as thousand separator and comma for decimal separator

Usage

punto_migliaia(x, nsmall = 0)

Arguments

x

A numeric vector

nsmall

(as in the base::format function)

Value

A character vector with the numbers formatted

Examples

x <- runif(10) * 5000
punto_migliaia(x)


gibonet/gibr documentation built on Jan. 5, 2024, 7:28 a.m.