in reply to Re: Boolean counter?
in thread Boolean counter?

Your idea works the following way - even if it doesn't look as elegant any more:

$toggle = -1 * ($toggle - 0.5) + 0.5;
Rata (loving this thread)