Description Usage Arguments Details Value Examples
View source: R/number_functions.R
Reverse an integer in place
1 |
x |
A integer or numeric that can be coerced to an integer |
Reverses an integer x in place, for both positive and negative values. Does not work for vectors or non-integer data such as floats
A rounded integer value
1 2 3 4 | integer_reverse(123)
[1] 321
integer_reverse(-123)
[1] -321
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.