Using etoolbox
, ifthen
, or another form of conditional checking, how can I check if a value is a multiple of 4? E.g. if the number is 4, 8, 12, 16, etc., then it returns "true".
[Tex/LaTex] Checking if a number is a multiple of 4
calculationsconditionalsetoolbox
Best Answer
You can use
pgfmath
for this: