These posts were previously published on the Stack Exchange Network, and have been cross-posted here for ad-free posterity. I’m no longer active with responding to questions on the Stack Exchange Network, and consider these to be the canonical links for my answers. If I update any of my responses to correspond to changing technology, they will only be updated on my own site, and not on the Stack Exchange post.
Why does SQL Server convert floats to scientific notation?
Question I came across some weird behavior: While passing a float value into a varchar column, the values are getting converted from integers into scientific notation, and it’s that scientific notation that gets stored as a string. results look like this: 1.49559e+006 Scientific notation stored … [Read More]