Created
February 13, 2020 15:57
-
-
Save ronaldgreeff/c35293d7e3c266820e609c1bd84ea247 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
nCols = 4; | |
for (var c=0; c<nCols; c++) { | |
iStart = (c/nCols).toFixed(1) | |
iEnd = ( (c+1) /nCols).toFixed(1) | |
console.log( | |
iStart, iEnd | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment