Okay I am creating a zip code search page for our site. I have a function and a procedure in my SQL Server database that work just fine. However as luck would have it I've been instructed to make this process work through a dll I create in VB 6 instead of relying on our SQL server. Okay. To convert the work SQL is doing, it appears it's going to take 5 functions in VB. My first and biggest problem is that my formula requires the use of a HUGE number, over 8 billion, to do the math so to speak. I can't find anything in VB that will hold a number of that size without an overflow error. I've looked up every type of numeric I can use, I've cast the number, I know the limits and all. Does this mean there is nothing in VB that will allow me to use this formula? I mean do I have to re-configure the whole process of finding the zip codes with another formula because VB can't do what SQL does? I'm more inclined to think I don't know what I'm doing in VB. lol! Any suggestions please?