How to get Exponential values as decimal in sql server

select Cast ( Cast (columnname as float(20)) as decimal(25,20))  columnname  from table
WHERE CHARINDEX('E',columnname) <> 0 AND ISNUMERIC(columnname)=1

Comments

Popular posts from this blog

How to Convert Word Document to PDF using C#

How to Implement a Simple Chatbot Using ChatGPT in a C# WinForms Application?

Sql query to get counts by quarterly and half yearly