I had issues with this too, don't know how to fix this
but in that particular example you could just do
Console.WriteLine(wormsLength:F2) couldn't you
I experienced those issues when doing e.g. $"hi {day == 1 ? variable : variable (heres when it would mess up)} hi"
to solve that you could just do "hi " + day == 1 ? variable : variable + " hi", although it probably isn't preferable...