vlookup - incorrect value when not exact match

I ran into a problem when using vlookup function. 
My lookup table looks like this:
![image](https://cloud.githubusercontent.com/assets/9688327/5074704/e7a85dc2-6e5a-11e4-9810-64746e8c9412.png)
and I am looking up value for 65. PHPExcel returns 67, but it should return 27.9

I fixed it by adding an extra check to make sure that the datatypes of the lookup table key vs. the value being looked up match.

Hope this is helpful.