View source: R/other_functions.R
Decimal.Num.Count | R Documentation |
This function gives the number of decimal places of a number written as character string or numeric object.
Decimal.Num.Count(x)
x |
Number in character or in numeric class. |
An integer.
Note that when object given is a character then trailing zeros are not dropped and all the decimal places are returned. For example, Decimal.Num.Count("0.10") gives 2 decimal places instead of 2.
Decimal.Num.Count(0.1)
Decimal.Num.Count("0.1")
Decimal.Num.Count("0.10")
Decimal.Num.Count(0.10)
Decimal.Num.Count(0.12345)
Decimal.Num.Count("0.12345")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.