My groceries cost $groceryprice. (single)

My groceries cost $280.95. (double)

Single quotes are taken literally. Single quotes have an as is basis. Basically what you see is what you get.Double quotes are interpreted. Double quotes will translate variables as necessary into their respected values.