Trying to write the code to fill a field with smaller number

If you want a shortcut, that’s what Math.Min is for. It returns the smaller of two numbers.

Leave a Comment