Description Usage Arguments Value Examples
View source: R/utility_functions.R
Returns the nth decimal digit from the number x
1 | nthDecimalDigit(x, position)
|
x |
input number |
position |
can be between 0 and ~ +20 |
the number at the decimal position
1 2 | x <- 1234.1234567
floor((x * 10^5) %% 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.