Skip to main content
Question

Even numbers

  • February 12, 2016
  • 3 replies
  • 200 views

franco69
Contributor
Forum|alt.badge.img+11

Hi Guys,

I've never needed this and so i don't know how this is going.

 

But its the simple question from the easy ones ;-))

 

how can i tell FME to let features throught (in a transformer) which have in an attribute an even number, not an uneven?

 

 

Greetz and Cheers

 

Franco
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

davideagle
Contributor
Forum|alt.badge.img+22
  • Contributor
  • February 12, 2016

I suggest you try the ParityFilter in the FME Store here:

https://store.safe.com/transformers/parityfilter


franco69
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • February 12, 2016

@1spatialdave

Exactly that is what i needed...Thx a lot

 

 

Greetz

Franco


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • February 12, 2016

lol,

just test for

@fmod(@Value(a),2) = 0