num_str | R Documentation |
To be used in cli calls like cli::cli_text("{.val {shapr:::num_str('12.10')}}")
to format character strings
that typically represent a number as if it were numeric. May also be used with strings not representing a number.
num_str(x)
x |
Character. A single character that represents a number, or a vector of characters. |
A numeric class object with the value of the string.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.