Question

5
Replies
1990
Views
Viswanath Samudrala (Viswa_CG)
Capgemini

Capgemini
IN
Viswa_CG Member since 2017 12 posts
Capgemini
Posted: June 15, 2017
Last activity: July 27, 2017
Posted: 15 Jun 2017 10:51 EDT
Last activity: 27 Jul 2017 15:14 EDT
Closed

Decimal divided-by Integer and Decimal divided-by Decimal for the exact same values return different results!

Example: (1) 84.5/100 = 0.85 Whereas (2) 84.5/100.0 = 0.845

To add to that, when we set BOTH the numbers to Decimal properties the result is (1).

Any clue why?

***Edited by Moderator: Marissa to update categories***

Low-Code App Development Data Integration
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.