SyntaxFix
Write A Post
Hire A Developer
Questions
Properly parenthesized for clarity, it is
hsb.s = (max != 0) ? (255 * delta / max) : 0;
meaning return either
255*delta/max
0