last time i checked, the $ operator can only be applied to strings..?
try to surround your variable in " 's, like this
Code:Console.WriteLine($"{wormsLength:F2}");
last time i checked, the $ operator can only be applied to strings..?
try to surround your variable in " 's, like this
Code:Console.WriteLine($"{wormsLength:F2}");
Last edited by Bunny; 07-24-2017 at 06:00 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)