float myFloat = 1f;
//float in c# sharp is (like in a lot of languages)
//a variable that can contain numbers and fractions
//in contrast to int that is used just for integers
using System;
namespace DataType
{
class FloatExample
{
public static void Main(string[] args)
{
float number = 43.27F;
Console.WriteLine(number);
}
}
}