Learn R Programming

expirest (version 0.1.6)

get_n_whole_part: Get number of digits of whole part (of a decimal number)

Description

The function get_n_whole_part() counts the number of digits of the whole number portion of a decimal number.

Usage

get_n_whole_part(x)

Value

An integer representing the number of digits of the whole number portion of the decimal number that was handed over.

Arguments

x

A decimal number (or an integer) or a vector of decimal numbers (or of integers).

Details

The function get_n_whole_part() counts the number of digits of the whole number portion of a decimal number.

See Also

print_val, set_limits, get_text_annotation.