Timeline for Divisibility test
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 23, 2016 at 18:34 | comment | added | Joffan |
Personal preference; when I'm testing values with Mod , I put the test constant first: 0=i Mod j And if you append the body line onto the function declaration, , you'll actually get the End Function line for the price of pressing Enter: Function f(i,j):f=0=i Mod j (28 bytes)
|
|
Jul 22, 2016 at 12:47 | comment | added | user3819867 |
Thanks again. I also made a personal favorite f=InStr(i/j,".")=0 . Doesn't work with decimal commas and isn't winning bytes.
|
|
Jul 22, 2016 at 12:45 | history | edited | user3819867 | CC BY-SA 3.0 |
added 19 characters in body
|
Jul 22, 2016 at 12:41 | review | Low quality posts | |||
Jul 22, 2016 at 13:06 | |||||
Jul 22, 2016 at 12:28 | history | edited | user3819867 | CC BY-SA 3.0 |
added 18 characters in body
|
Jul 22, 2016 at 12:25 | history | answered | user3819867 | CC BY-SA 3.0 |