Add support for lerp on float values with an integer weight. Add test case.