Skip to main content
simply more productive

The Data Specialist

Thanks to our intuitive transformation designer, you can convert data effortlessly to a variety of formats without knowing how to program. It’s not only efficient, it’s also easy to use.
Up to 100,000 records can be processed with the freeware version!
Flowheater Chart

Division function [Number divided by Zero]

  • Andrew Wojciak
  • Topic Author
  • Offline
  • User
  • User
More
9 years 10 months ago #2358 by Andrew Wojciak
I am using a Division and this function is not calculating divisions by Zero correctly. For example: 10 / 0 = 10 (but should be "#DIV/O!" or something like this). Is it possible to have "#DIV/O!" when a number is divided by zero?
AW

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

More
9 years 10 months ago #2359 by FlowHeater-Team
Replied by FlowHeater-Team on topic Division function [Number divided by Zero] - Post(2359)
Hi Andrew,

Thanks for the suggestion. I’ve added this feature in a first Beta of Version 3.5.3. You can download and use this Version here: Download FlowHeaterBeta

Best wishes
Robert Stark

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

  • Andrew Wojciak
  • Topic Author
  • Offline
  • User
  • User
More
9 years 10 months ago #2360 by Andrew Wojciak
Replied by Andrew Wojciak on topic Division function [Number divided by Zero] - Post(2360)
I have updated to Beta Ver 3.5.3. but Division is showing the same issue. I have checked formating and I am dividing Integer/Integer = Decimal so should be fine. Any suggestions?
Thanks
AW

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

More
9 years 10 months ago #2361 by FlowHeater-Team
Replied by FlowHeater-Team on topic Division function [Number divided by Zero] - Post(2361)
I’ve attached the Definition which I have tried it and I get the result in the screenshot. Could you please try it also with this definition? If the result also the same please be sure that you’re using the right BETA version.


File Attachment:

File Name: division-by-zero.fhd
File Size:5 KB




Best wishes
Robert Stark

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

  • Andrew Wojciak
  • Topic Author
  • Offline
  • User
  • User
More
9 years 10 months ago #2362 by Andrew Wojciak
Replied by Andrew Wojciak on topic Division function [Number divided by Zero] - Post(2362)
Hi Robert,
your division-by-zero.fhd file produces correct results in my FH too, but here is what I have noticed in my process which still does not produce correct results: 1/ All together I have 4 steps (.fhd-s) in my process 2/ in my step# 3 I am updating SQLite but some fields used in the next step as denominator remains NULL (that's OK - no data to populate) 3/ when I run my final step4 (.fhd with Division) warnings are produced: "The values (null) could not be converted into a number". So it seems Division is not working correctly when denominator is NULL.
Can you help?
Thank you.
AW

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

More
9 years 10 months ago #2363 by FlowHeater-Team
Replied by FlowHeater-Team on topic Division function [Number divided by Zero] - Post(2363)
Hi Andrew,

You need a short IF-THEN-ELSE condition the set the certain field in case of DBNULL (or isn’t a NUMBER) to zero. Please find attached a short example.

File Attachment:

File Name: isnumber-i...tion.fhd
File Size:8 KB

Best wishes
Robert Stark

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

Time to create page: 0.286 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:
This email address is being protected from spambots. You need JavaScript enabled to view it.


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