Cadence *2 or not

Hi,

what is the correct coding to display cadence / averageCadence? Do I have to multiply with 2 or not?