I want to type conversion of following.
My C# code is.
float percentage = (present/total) * 100;
lblPercentage.Text += String.Format("{0:0.00}", (float)present / (float)total);
It gives output like: 0.71
but I want output something like: 71
I want to type conversion of following.
My C# code is.
float percentage = (present/total) * 100;
lblPercentage.Text += String.Format("{0:0.00}", (float)present / (float)total);
It gives output like: 0.71
but I want output something like: 71