requirements was misplaced
cast to float

Signed-off-by: Santiago Pestarini <santiagonob@gmail.com>