Skip to content

Display number in currency notation with commas

2 messages · eigenvalet, Pete Brecknock

#
eigenvalet wrote
One way ....

myNum=1111
paste("$",format(myNum, big.mark=","),sep="")

HTH

Pete

--
View this message in context: http://r.789695.n4.nabble.com/Display-number-in-currency-notation-with-commas-tp4253582p4253695.html
Sent from the R help mailing list archive at Nabble.com.