View source: R/decimal_count.R
decimal_count | R Documentation |
Function to count the number of digits on the right of a decimal point ( sometimes called the mantissa).
decimal_count(value)
value |
A numeric vector. |
Stuart K. Grange
http://stackoverflow.com/questions/5173692/how-to-return-number-of-decimal-places-in-r
## Not run:
decimal_count(5.89)
decimal_count(c(5.89, 2, 56.454545, 5.1))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.