static void Main(string args)
float f1 = 15e3F;
double d1 = 11E4D;
What is float number in c sharp program
Numbers with a fractional portion and one or more decimals are represented by floating point types. The types float and double are both acceptable. Despite the fact that C# has a large number of numeric types, the most common ones for numbers are int for whole numbers and double for floating point values.