find_multiplier | R Documentation |
Find lowest possible integer multiplier which yields an integer when multiplied by a decimal number.
find_multiplier(x)
x |
a numeric vector |
find_multiplier(2.25)
find_multiplier(8.245)
# x can also be a numeric vector of length > 1
find_multiplier(c(2.25, 8.245, 2.1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.