Finished string float to int function