Introducing the all-new TIBCO Community site!

For current users, please click "Sign In" to reset your password and access the enhanced features. If you're a first-time visitor, we extend a warm welcome—click "Sign Up" to become a part of the TIBCO Community!

If you're seeking alternative community sites, explore ibi, Jaspersoft, and Spotfire.

Jump to content

39.95 * 100 = 3995.0000000000005 in Tibco BW. Why


Recommended Posts

I am using Mapper and trying to multiply 39.95 to 100. The answer should be simple 3995 but I got answer as 3995.0000000000005. When I do the same with 49.95, it gives 4995.

This behaviour is for very few numbers but due to this, we got a Production issue as I work in bankingdomain. For now, we have rounded up but I need to know the reason and a solution for this. I am using BW 5.11. Input field is decimal, output field is decimal. Input value comes as 39.95 at runtime.

 

Can anybody help

Link to comment
Share on other sites

  • 2 years later...
  • 1 month later...
×
×
  • Create New...