What is the usage of floating-point numbers in C# in this example. Why is it necessary? Please see example below. Thank you.?
public static BankAccount openBankAccount(string owner, double balance)
{
return openBankAccount(owner, balance, 0.0);
}
public static BankAccount openBankAccount(string owner)
{
return openBankAccount(owner, 0.0);
}
0.0 is a floating-point number. But why is it there? Like owner is owner, balance is balance, but 0.0 has nothing in "public static BankAccount openBankAccount" defining it.