![]() |
|
|
|
| ||||||
|
Welcome to the The ProgrammersTalk Community forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| Tags: |
![]() |
![]() | | LinkBack | Thread Tools | Display Modes | ![]() |
| |||
| [SOLVED] Dose anyone know anything about Javascript Programming? For example you have three Variables and then the result now if you put a # in those three it will add and thats the result. so what i need is the formula for make the result to not add them all to just take out the gratest out of all. thanks |
| |
| |||
| ha? if you want to find the largest number in a set of numbers: alert( max( [10,5,21,54,23] ) ); ============ OR ============ var x = 5; var y = 7; var z = 13; alert( max( [x,y,z] ) ); ============ OR ============ var nameOfArray = new Array(12,13,17,8); alert ( max (nameOfArray) ); http://www.math.rutgers.edu/~erowland/playground.html |
![]() |
| Thread Tools | |
| Display Modes | |
| |