Round numbers in 15min javascript
<p>I am trying to do a select box with 4 options
00,15,30,45</p>

<p>I want to take the current time and round it to 15 min increments, and have the value change.</p>

<p>I have </p>

<pre><code>current_min = start_date.getMinutes();
$('#event-hour').val(current_min);
</code></pre>

<p>I played with this <code>roundedMinutes=(15*Math.floor(enteredMinutes/15))</code> but i couldn't get it to work right. </p>
