format_numbers_heuristic: format_numbers_heuristic a custom function to display large...

View source: R/fct_helpers.R

format_numbers_heuristicR Documentation

format_numbers_heuristic a custom function to display large numbers (below 1000) without any decimal, and small numbers with one decimal all values are displayed with thousand separator, no scientific notation and trailing zeroes are dropped

Description

format_numbers_heuristic a custom function to display large numbers (below 1000) without any decimal, and small numbers with one decimal all values are displayed with thousand separator, no scientific notation and trailing zeroes are dropped

Usage

format_numbers_heuristic(number)

Arguments

number

the number to format

Value

a formatted number as a string


vdes2020/eneRgyVD documentation built on July 3, 2025, 7:36 p.m.