Table of Contents

Search

  1. Preface
  2. RulePoint
  3. RulePoint Concepts
  4. Using RulePoint
  5. RulePoint Objects
  6. Working with Topics
  7. Working with Connections
  8. Working with Sources
  9. Working with Responders
  10. Working with Responses
  11. Working with Watchlists
  12. Working with Analytics
  13. DRQL
  14. Working with Rules
  15. Working with Alerts
  16. Setting Access Controls
  17. Troubleshooting RulePoint Issues
  18. Connecting to an Ultra Messaging Application
  19. Creating an Ultra Messaging JMS Source

User Guide

User Guide

power

power

The power analytic returns the result of a number raised to a power.

Syntax

power(number, power)
The following table describes the required and optional arguments:
Argument
Required
Optional
Description
number
Required
The base number. It can be any real number.
power
Required
The exponent to which the base number is raised.
The following table provides the datatype for the parameters you can pass:
Parameter Input Options
Datatype
Event property
Real number
Example
when stock s with power(s.raised,3) as result=8 then response with body=”${result}”
The following table describes the result for the event property value that you pass:
Event Property Value
Description
Result
s.raised=2
Raises 2 to the power of 3.
8

0 COMMENTS

We’d like to hear from you!