Ed_Lebeau Member since 2016 15 posts
Comptech Associates Inc
Posted: 2 years ago
Last activity: 2 years 4 months ago

Integer Divide Results are Rounded...

I generally like to avoid scripts if I can, but I wanted to do some integer arithmetic, and found that the result of an integer divide are being rounded! The result of an "a / 3" when a=2 is 1. And there doesn't seem to be any way to force it to be a 0. This is something that was resolved decades ago in the c language with the introduction of "\" for integer divides. It would be nice if Pega would implement that so we do integer arithmetic without scripts.

Robotic Process Automation
Moderation Team has archived post
Share this page LinkedIn