fromValues

Determine rating by comparing two values.

Parameters

oldValue

previous value

newValue

current value