Skip to main content
simply more productive
The Data Specialist

✅ Easy data integration - import/export
✅ No programming required thanks to visual modeling
✅ Simple ETL tool with versatile options

Flowheater Chart

Checking whether a number is even or odd

  • FlowHeater-Team
  • avatar Topic Author
  • Offline
  • Admin
  • Admin
More
1 hour 4 minutes ago - 1 hour 4 minutes ago #3844 by FlowHeater-Team
Checking whether a number is even or odd was created by FlowHeater-Team
Translated post from the German Support Forum. You can find the original post here: Auswertung, ob Zahl gerade oder ungerade

Hi,

Is there a Heater (or a simple solution) that can be used to determine whether a number is even or odd? Currently, I extract the last digit of a number, replace it with T or F using Replace, and then evaluate it with IF. It’s not particularly elegant, but it’s necessary to correctly process duplicate individual rows

Best regards, Kai

Best wishes
Robert Stark
Last edit: 1 hour 4 minutes ago by FlowHeater-Team.

Please Log in or Create an account to join the conversation.

  • FlowHeater-Team
  • avatar Topic Author
  • Offline
  • Admin
  • Admin
More
59 minutes ago #3845 by FlowHeater-Team
Replied by FlowHeater-Team on topic Checking whether a number is even or odd
Hi Kai,

You can solve this very elegantly using the Modulo Heater . It returns the remainder of a division. If you enter “2” as the Modulo value, you'll get a remainder of 0 if the number is even; otherwise, you won't.

Attached is a short example showing how you can use the IF-THEN-ELSE Heater to set up a check for this.
  
File Attachment: File Name: checking-n...-odd.zip
File Size:5.74 KB

 

Best wishes
Robert Stark

Please Log in or Create an account to join the conversation.

Time to create page: 0.138 seconds
FlowHeater Logo
FlowHeater - The Data Specialist
Efficient data integration and transformation with FlowHeater – the perfect solution for a seamless transfer of your data.
Legal information
Support & Contact
Contact

Phone:
0951 / 9933 9792

eMail:
info@flowheater.net


Copyright © 2009-2026 by FlowHeater GmbH. All rights reserved.