Depends on what kind of integer.
If you have a variable, made in Trigger Editor, it is not possible, you will have to manually adept the tooltip
But if it is a value in Object Editor (like with aura's, the percent speed/attack/movement extra) you have to do:
< -Spell RawCode- , -RawCode Field>
If you click: View>Display values as Raw Code
you can see the rawcodes off spells behind the spells, use this for the first part.
and all text on the right screen is replaced with Rawcode also, use this for the second part,,
example from Polymorph Ability:
... Lasts<Aply,Dur1> seconds.
Aply = rawcode of Polymorph
Dur1 = rawcode of the value that holds the duration.
But: Variables from Trigger Editor can not be added.