public static void Main()
float amount = 12345678.0f;
string text = amount.ToString();
Console.WriteLine("Congratulations the first comparison worked!");
string amountText = "12345678.0";
float.TryParse(amountText, out amountFloat);
Console.WriteLine("Congratulations the second comparison worked!");