SyntaxFix
Write A Post
Hire A Developer
Questions
For micro-optimisation freaks:
if ($num % 6 != 0) $num += 6 - $num % 6;
More evaluations of %, but less branching/looping. :-P
%