routing numbers


    May 30 2006 | 11:27 pm
    how do i route/select/split odd from even numbers, and how do i route/select/split floats from ints in a most effective and simple way?
    - [select 110 110.]

    • May 30 2006 | 11:57 pm
      JS can do it. I'm a crap at JS so I can't give you the code here, but if I remember well, there's an object for that in Emmanuel's Ejies.
      hth,
      Julien.
    • May 31 2006 | 12:05 am
      modulus "%" is a general solution component for both of these problems.
    • May 31 2006 | 12:11 am
    • May 31 2006 | 6:33 am
      route int float
    • May 31 2006 | 12:46 pm
      On 31 mai 06, at 08:33, /*j wrote:
      > route int float
      Yan is right, it's a lot more efficient than my ej.route...
      ej
    • May 31 2006 | 6:35 pm
      oh okay, i did not know about [route float], i only knew about [route symbol] until now.:)
      odd/even obvouly needs a gate but for now i can live with that solution:
      [110.eeo] (even or odd)
      it is always those simple things which are difficult.
      -110