I am working on an outdated ASP application. I am trying to insert a value (40.33) into a SQL Server 2000 field, which is a float type. Each place that I see (through some registration) in the application sends 40.33 to the Stored Procedure. When I run SQL Profiler against a database during a call, the value that I see in the trace is 4.033000183105469e + 001
Where is all the excess garbage (183105469) located?
Why, when I switch to 40 or 40.25, is there nothing more?
Is this just one of the weird side effects of using float? When I write something, I usually use money or decimals or something else, so I am not familiar with the float data type.
pfunk source share