He had no idea what the modern English word "earth" means, even if he somehow could have stumbled upon it.
Ceasar himself was interested in astronomy, to the extent that he replaced the previous Roman calendar with the Julian Calendar (a modification of the Egyptian Solar calendar), the first to feature a year of 365 days and and include a quadrennial leap year, which endured for 1500 years before the Gregorian Calendar tweaked the leap year scheme for centenary years; considering that the inaccuracy of the Julian calender only amounted to 3 days over 400 years, it error factor was < 0.001%.
Ceasar may not have thought of the earth as just another planet orbiting just another sun in just another galaxy, but it's highly unlikely that he believed the earth to be flat.