int>float input type changed

because of variety at input values float is more convenient type. Then
because it is unnecassary to keep float position values type casting is
done