✅ Addition with integers and floating point numbers
If i were to create this method, and someone would use a floating point number instead of an int. Would this method break? And if so, is there a way around this?
namespace Calculator.Model
{
// The class for Addition "+".
public class Addition
{
public static int Add(int number1, int number2)
{
}
}
}