C# Program to print the float numbers

C# Program to print the float numbers. In this program we can print the floating number using the data type for the float number. Because of the high need for processing resources, float is typically employed in visual libraries. Because the range is less than that of the double type, float has shown to be the faster option when dealing with hundreds or millions of floating-point numbers.

using System;

namespace Main
{
class Program
{
static void Main(string[] args)
{
float myNum = 1.34F;
Console.WriteLine(myNum);
}
}
}

1.34