Created
February 22, 2022 01:21
-
-
Save delonnewman/6ab840fc24a4518e78495656c811252f to your computer and use it in GitHub Desktop.
Round to the Nearest 15 minute
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Math.round(minutes / 15) * 15 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@delonnewman nice, thanks!