Skip to main content
4 events
when toggle format what by license comment
Jun 4 at 16:49 vote accept user1702965
Jun 3 at 14:37 answer added Derek F timeline score: 0
May 31 at 18:18 comment added Derek F Unless I'm missing something here, the issue isn't so much that you're using Math.mod() in a loop, but more that you have an infinite loop. If daysBetween is not a multiple of 7, you'd never get to a multiple of 14 by adding 7. Might be worthwhile to set up a counter and a debug to see just how many times your loop is running.
May 31 at 16:22 history asked user1702965 CC BY-SA 4.0