isEven API

Mac@programming.dev to Programmer Humor@programming.dev – 288 points –
isevenapi.xyz
24

You are viewing a single comment

That's not even supported by the enterprise version. You're going to need a special agreement with the iseven people to support numbers like that

Easy workaround, just test the last digit. If it is even, the entire number is even, else odd.

That's preposterous! Next time you'll tell me the language I'm using has a builtin operator that test if a number can be divided by another!