The reason of your exception is that after the execution of first line of your code m_Variable5 = "46.4285714285714" and it can't be converted to Int32 using Convert.ToInt32
function in the second line of your code.
In the second example it is converted, because you use CInt
operator. CInt (when passed a string) performs more work than Convert.ToInt32. I, personally, prefer to use CInt.