# PCTCHANGE: Percent change in value

Use the PCTCHANGE formula function in a situation to compare the percent change between the value of the current data sample and the previous sample.

- Percent change in value
- The PCTCHANGE function takes the percentage change between the sampled value of the attribute and the previous value, then compares it with what you enter here. If the result meets the comparison, the situation is true. Valid values are numeric integers.
- Example
- This situation is true when the memory usage of a process increases
by 50% or more between sampling intervals.
`PCTCHANGE (% Processor Time) >= 50`

- Restrictions
- You can have only one PCTCHANGE function in a situation.
- Hexadecimal numbers
- When entering a hexadecimal value in a cell, prefix the number with zero and the letter “x”, as in 0x123ab for hex value 123ab.