What I mean is if I could change the value of a number from for example 1 to 5 but smoothly and over time with something like quad as an easing style? Also, I would appreciate if you give a small snippet of code so I can check it out.
Linear Interpolation is quite an easy formula.
function Lerp(a, b, t) return a + (b - a) * t end