using System;
class ExplicitConv {
static void Main() {
double a = 5.654321;
int b;
b = (int)a;
Console.WriteLine("The value is {0}", b);
}
}
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok