Hi,

I used '\doifnumberelse' to validate some macro parameters (angle).
Sadly it does not work with negative numbers. Is there a similar macro,
that also supports negative values?

Example:

\doifnumberelse {45}{yes}{no}% yes
\doifnumberelse{-45}{yes}{no}% no


Greetings, Peter
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to