Math Operations | XM Community
Skip to main content
Solved

Math Operations


Abdul
QPN Level 1 ●
Forum|alt.badge.img+4
  • QPN Level 1 ●
  • 4 replies
Hi, I'm doing a Math operations and storing it in an Embedded Data using below code... $e{ ( e://Field/CSO_Score / 15 ) * 100 } However, I also want the above operation to give me a rounded value. I tried to use the below code however it is giving an invalid expression $e{ round ( ( e://Field/CSO_Score / 15 ) * 100 , 0 ) } I'm definitely missing some thing. Any inputs / suggestion?

Best answer by MohammedAli_Rajapkar

Can you remove the space after "round" and try? Also just wanted to check, are you getting the value for $e{ ( e://Field/CSO_Score / 15 ) * 100 } correctly?
View original

2 replies

MohammedAli_Rajapkar
QPN Level 5 ●●●●●
Forum|alt.badge.img+20
Can you remove the space after "round" and try? Also just wanted to check, are you getting the value for $e{ ( e://Field/CSO_Score / 15 ) * 100 } correctly?

Abdul
QPN Level 1 ●
Forum|alt.badge.img+4
  • Author
  • QPN Level 1 ●
  • 4 replies
  • May 17, 2018
Thanks Mohammedali! It worked - and yes I'm getting the value for the math operation correctly. Thanks for checking!

Leave a Reply