function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vishwanath AVishwanath A 

issue in pow

Hi,

 

is it poosible to take 

 

decimal.pow(decimal)

for ex: 12.34.pow(0.12);

 

Navatar_DbSupNavatar_DbSup

Hi,

 

I think decimal.pow (decimal) is not possible .because exponent must be integer value.

Try the below code snippet as reference:

 

Decimal myDecimal = 4.12;

 

Decimal powDec = myDecimal.pow(2);

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.