Unfortunately, it cleared every time I hit submit with that code as though I was double clicking the button. This did help me figure out how to tie answers to an existing submit button of a different math input. Thanks!
No, that would change back and forth 0, 1, 0, 1… so it would reset every time it was pressed. Floor would be 0, 1, 1, 2, 2, 3, 3, 4, 4… and would only change when the number increases. Ceiling would be 1, 1, 2, 2…
Basically, resetOnChange resets every time your string changes.