View source: R/mbqnThreshold.R
truncateDecimals | R Documentation |
Truncate float to defined number of decimal values
truncateDecimals(x, digits = 2)
x |
float |
digits |
Number of decimal values |
Truncated number
x <- 2.567836 truncateDecimals(x, 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.