how to fromat double in c# code example
Example 1: convert int to double c#
int x = 420;
double y = Convert.ToDouble(x);
Example 2: C# Cast double to float
double double_Num = 42.0349384093;
float float_Num = (float)dNum;
By Barry Cox
int x = 420;
double y = Convert.ToDouble(x);
double double_Num = 42.0349384093;
float float_Num = (float)dNum;
By Barry Cox