Skip to main content
simply more productive
The Data Specialist

✅ Perfect for data integration-import/export
✅ No programming required thanks to visual modeling
✅ No registration required

Flowheater Chart

Checking whether a number is even or odd

  • FlowHeater-Team
  • Topic Author
  • Offline
  • Admin
  • Admin
More
- #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: by FlowHeater-Team.

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

  • FlowHeater-Team
  • Topic Author
  • Offline
  • Admin
  • Admin
More
#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.
  
This attachment is hidden for guests.
Please log in or register to see it.

 

Best wishes
Robert Stark

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

Time to create page: 0.114 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.