I was very tired last night when I posted my question so let me try to clarify what I need. I'm working with percentages so technically I need to get from 0 to 1 in increments of 0.01, 0.02, etc until I get to 1. I need to reach 1 in 2 seconds.
So what I need to figure out is this:
If variable is less than 1, Every X seconds (x seconds is what I need solved) add 0.01 to variable. In 2 seconds time the variable should reach 1.