In the first case, the parameter numbers are treated as doubles (the default for primitive floating point numbers in java). The second instance it is being interpreted as a float. As an example:
...