unicodeSN(c(123456, 0.000123, 1500, 2e10, -0.00045, 3.14159, 0, 0.05, 42.678))
unicodeSN(299792458, digits = 4)
unicodeSN(9.999e5) # rounds up to 1x10^6
unicodeSN(c(0.5, 50, 5000), bounds = c(1, 1000))
# In Quarto, inline code such as `r unicodeSN(p)` needs no special chunk options
Run the code above in your browser using DataLab