O
Ovindo
If I do this:
Console.WriteLine(Convert.ToString((int)(0.7f * 100)));
Console.WriteLine(Convert.ToString((int)(0.7d * 100)));
The application output is:
69
70
Can you help me to understand how conversion in c# is working?
Regards
Ovindo
Console.WriteLine(Convert.ToString((int)(0.7f * 100)));
Console.WriteLine(Convert.ToString((int)(0.7d * 100)));
The application output is:
69
70
Can you help me to understand how conversion in c# is working?
Regards
Ovindo