﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / Development  / I need to convert integer into decimal by specifying the decimal point / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Tue, 21 May 2013 02:44:25 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: I need to convert integer into decimal by specifying the decimal point</title><link>http://www.sqlservercentral.com/Forums/Topic1420677-145-1.aspx</link><description>Yes, I just did it.Thank you.</description><pubDate>Fri, 15 Feb 2013 10:59:40 GMT</pubDate><dc:creator>Shree-903371</dc:creator></item><item><title>RE: I need to convert integer into decimal by specifying the decimal point</title><link>http://www.sqlservercentral.com/Forums/Topic1420677-145-1.aspx</link><description>Like this?[code]update #X set Samp = Samp / 100000[/code]</description><pubDate>Fri, 15 Feb 2013 10:58:03 GMT</pubDate><dc:creator>Sean Lange</dc:creator></item><item><title>I need to convert integer into decimal by specifying the decimal point</title><link>http://www.sqlservercentral.com/Forums/Topic1420677-145-1.aspx</link><description>Hello,        I need to convert an integer into decimal by specifying the decimal point.For example, if i have 0000318750, when i try to convert into decimal it gives me 318750.00, but i need it to be 3.18750.Can this be done? Thanks in adavance.CREATE TABLE #X (Samp decimal(15,5));INSERT INTO #X VALUES ('0000318750')SELECT * FROM #X</description><pubDate>Fri, 15 Feb 2013 10:43:24 GMT</pubDate><dc:creator>Shree-903371</dc:creator></item></channel></rss>