Linear interpolation from this number to to by factor t (0..1).
to
t
0.lerp(100, 0.5) // 50.0
double lerp(num to, double t) => this + (to - this) * t;