Applies To:
CPQ
Summary:
This article will show you how to write a CPQ tag to perform a square root function within CPQ.
Details:
Currently, CPQ does not have tag operator to calculate square root value. Therefore, you will need to utilize other CPQ allowed scripting language such as VBScript.
Solution/Workaround:
The best optimal way to perform a square root function in CPQ is to use a VBScript function, SQR(), in a CPQ Eval Tag.
Correct tag to use is below:
<*Eval(SQR("value"))*>
Sample of what tag should look like :
E.g: <*Eval(SQR("4"))*>
Result of the tag in debugger:
Comments:
- The 'SQR' is Visual Basic Function. Click here to find more information about this function.
- VB Function must be used inside of a CPQ Eval (<* Eval(...) *>) tag.