Close popover
Carrie Vennefron (CarrieV9)
Segue Technologies
Software Developer
Segue Technologies
CarrieV9 Member since 2020 5 posts
Segue Technologies
Posted: June 5, 2020
Last activity: June 6, 2020

How to do perform base 10 logarithm calculation in 8.1?

Hi! I need to perform a calculation where the log base 10 is taken of another calculated property. For whatever reason, Pega is letting me perform a *natural* logarithm, but not a base 10 logarithm. I know that Java is recognized in Pega, and so I looked up the commands for both. 

In Java, Log10(x) will yield the log base 10 of x. However, this creates an error in Pega.

In Java, Log(x) will yield the natural log of x. This calculation works fine in Pega.

Why is this, and is there a work-around? I really need the log base 10 to run. 

Thanks in advance! Please see the images attached. 

Pega Platform 8.1.1 Pega Platform Enterprise Application Development Dev/Designer Studio Technology Services System Architect