3 ms·
It's hardly incorrect that different languages have different semantics, especially considering the mix of types and use of % in that expression. You could just
by ben-schaaf 5y ago
It's hardly incorrect that different languages have different semantics, especially considering the mix of types and use of % in that expression. You could just as well complain that they don't all print floating point numbers in the exact same way.