Learn R Programming

plotfunctions (version 1.4)

getDec: Return the number of decimal places.

Description

Return the number of decimal places.

Usage

getDec(x)

Arguments

x

A numeric vector.

Value

Number of decimals

See Also

Other Utility functions: findAbsMin(), find_n_neighbors(), firstLetterCap(), getArrowPos(), getRange(), getRatioCoords(), get_palette(), group_sort(), inch2coords(), isColor(), list2str(), move_n_point(), orderBoxplot(), se(), sortGroups()

Examples

Run this code
# NOT RUN {
getDec(c(10,10.432, 11.01, .000001))
# }

Run the code above in your browser using DataLab