View source: R/get_precision.R

get_precision | R Documentation |

Determine the precision of a number, as the number of digits past the decimal point.

get_precision(x, ...)

`x` |
A numeric vector |

`...` |
Ignore this |

If the number is expressed in scientific notation, we take the number of digits

A vector of integers, with the number of digits (to the last non-zero digit) past the decimal point.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.