decimal variable declaration c# code example Example: Decimal Number Variable C# float number = 8.1f;