Hi Folks,

Could anyone please help me to understand the difference between simple calculator and javascript calculator ?Where to use simple calculator and where to use javascript calculator?

Thanks

Nishika

Could anyone please help me to understand the difference between simple calculator and javascript calculator ?Where to use simple calculator and where to use javascript calculator?

Thanks

Nishika

A JavaScript calculator is useful when you need to do more complex calculations, such as standard deviation or unweighted averages. They provide greater control over the fequency at which the metric is calculated as well as over the metric path of the calculated metric (you can have the metric appear as if it is being reported from an Agent). Because it is script based, you can leverage global variables to store previous calculations and generate running aggregations. Additionally, JavaScript calculators are useful when you want to evaluate String metrics or produce a calculated String metric.