User talk:Markjreed

From Rosetta Code
Revision as of 23:59, 5 February 2013 by Keithpinson (talk | contribs) (What the heck was that thing?)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

what the heck was that 'f"${v}%03d"' thing?

Didn't mean to make you gag. It's string interpolation. Works in Scala 2.10.

"%03d".format(v) is the better way to go. Works in older version of Scala. Doesn't invoke the gag reflex.