when i tried to run the project in visual studio, i stumbled upon the error shown below.
float.Parse() expected a comma in string, not a dot. probably due to my locale (pl_PL).
fixed it by applying CultureInfo.InvariantCulture as a second argument in float parser.
when i tried to run the project in visual studio, i stumbled upon the error shown below. float.Parse() expected a comma in string, not a dot. probably due to my locale (pl_PL). fixed it by applying CultureInfo.InvariantCulture as a second argument in float parser.