A solution doesn't jump out at me. While the 2 variables in the code are declared as Single, I can't tell if you have the table field defined as Single (or Double).
The slightly confusing thing about your code is that the prefix "lng" is usually used (in my experience) to mean Long Integer. Obviously this will not effect your result but it is confusing none-the-less.
-Phil-
|