test_that("Formato CLP, $ y numerico", {
val <- 10000.07
expect_equal(format_clp(val, digits = 1),
'CLP 10.000,1')
expect_equal(format_dinero(val, digits = 1),
'$ 10.000,1')
expect_equal(format_num(val, digits = 1),
'10.000,1')
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.