which_num_format: which_num_format

View source: R/numbers.R

which_num_formatR Documentation

which_num_format

Description

Recognizes decimal values and decimal / thopusands separators. Also adds a specifier

Usage

which_num_format(str)

Arguments

str

A number as a character value

Value

a list with four values: number of decimal values, decimal and thousands separator and specifier value. The output has the following properties:

$n_decimal

$specifier

$decimal

$thousands

Examples

which_num_format("2135.3")


datasketch/makeup documentation built on Feb. 21, 2025, 6:53 a.m.