signifdec.i <-
function(x,digits){
if (length(x)>1)
stop("x must be a single number")
left<-unlist(strsplit(as.character(x),"\\."))[1]
nc <- nchar(left)
format(round(x,digits-nc+1))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.