This will do the work: function round5(x) { return Math.ceil(x/5)*5; }. It's just a variation of the common rounding number to nearest multiple of x ...
javascript-next-multiple
The multiple answer format allows a respondent to select multiple answer choices for a question. You can limit how many choices the respondent is allowed to .... Multiple variables in JavaScript can also be chained, while separated by a comma. var x, y, z;. Assigning values: var x = 5, y = 6, z = 7; var a = 10, b = 30, c = 90;. 939c2ea5af
javascript next multiple, javascript array multiple types, javascript multiple comparison operators
Comments