Hi,
I want to define a macro, \doifoneelse, that checks if the first
argument is 1 or not. It should work for decimals and strings also.
So,
\doifoneelse{1}{a}{b} gives a
\doifoneelse{1.5}{a}{b} gives b
\doifonelese{string}{a}{b} gives b
Can someone suggest how to define this?
Thanks,
Aditya