radsectors/sqlshim

SQLTYPE_(DECIMAL|NUMERIC) Logic Clean-up

Opened this issue · 0 comments

The logic in the SQLTYPE_(DECIMAL|NUMERIC) functions seems pretty messy to me. If any math whizzes can see any pattern(s) I've missed, or if any C++ gurus or sqlsrv experts out there can shed some light on how these numbers are calculated, please, PLEASE do. I've snooped around the code over on Azure/msphpsql but was only able to find just a small amount of useful information.