int abc = 0; abc = 100 / 330 * 50; Console.WriteLine(abc);
100 / 330 * 50;
15,15151515
double abc = 0.0; abc = 100.0 / 330.0 * 50; Console.WriteLine(abc);
double abc = 0; abc = 100.0 / 330 * 50; Console.WriteLine(abc);
Quote:Hi I'm going crazy with this easy situation
abc = 100 / 330 * 50;
abc = 100 * 50 / 330;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)