Description Usage Arguments Value
Convert a string value from CSS into a numeric value
1 | css_value_as_numeric(x, percentage_as_fraction = TRUE, ...)
|
x |
Character string of a CSS value e.g. "12", "12px", "3em", "47%" |
percentage_as_fraction |
Should percentages like "12 as a fraction (e.g. 0.12)? Default: TRUE. If FALSE then returns the percentage as a numeric value (e.g. 12) |
... |
other arguments passed to |
a numeric value as best we can with limited knowledge
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.