jQuery get biggest number from list
If you have them in an array, you can do this:
var numbers_array = [1415, 2343, 11];
numbers_array.push( 432 ); // now the array is [1415, 2343, 11, 432]
var biggest = Math.max.apply( null, numbers_array );
Put them in an array, sort them, and take the last of the sorted values:
[one, two, three].sort(function (a, b) {
return a > b ? 1 : (a < b ? -1 : 0);
}).slice(-1);
Math.max(one, two, three)