Return the number of decimal places.
Return the number of decimal places.
getDec(x)
x |
A numeric vector. |
Number of decimals
Based on http://stackoverflow.com/questions/5173692/how-to-return-number-of-decimal-places-in-r, but improved
Other Utility functions:
findAbsMin(),
find_n_neighbors(),
firstLetterCap(),
getArrowPos(),
getRange(),
getRatioCoords(),
get_palette(),
group_sort(),
inch2coords(),
isColor(),
list2str(),
move_n_point(),
orderBoxplot(),
se(),
sortGroups()
getDec(c(10,10.432, 11.01, .000001))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.