<?xml version="1.0" encoding="iso-8859-9" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwizguide.com/rss_namespace/">
 <channel>
  <title>Datakent Forum : Ondalıklı Sayıyı Ayrıştırmak</title>
  <link>http://forum.datakent.com/</link>
  <description>XML içerik linki; Datakent Forum : C# &amp; ASP.NET : Ondalıklı Sayıyı Ayrıştırmak</description>
  <pubDate>Mon, 27 Apr 2026 19:15:05 +0000</pubDate>
  <lastBuildDate>Fri, 09 Jul 2010 11:17:43 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.54</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.datakent.com/RSS_post_feed.asp?TID=1945</WebWizForums:feedURL>
  <image>
   <title>Datakent Forum</title>
   <url>http://forum.datakent.com/forum_images/datakent.com_forums.png</url>
   <link>http://forum.datakent.com/</link>
  </image>
  <item>
   <title>Ondalıklı Sayıyı Ayrıştırmak : Bu kodda File Upload ile se&#231;ilen...</title>
   <link>http://forum.datakent.com/forum_posts.asp?TID=1945&amp;PID=4234#4234</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://forum.datakent.com/member_profile.asp?PF=3122" rel="nofollow">turknetyazilim</a><br /><strong>Konu:</strong> 1945<br /><strong>Gönderim Zamanı:</strong> 09.Temmuz.2010 Saat 11:17<br /><br />Bu kodda File Upload ile seçilen Dosyanın boyunu Megabayt Hesaplar.Sonuç ondalıklıdır<DIV></DIV><FONT size=2><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>protected</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>double</FONT></FONT><FONT size=2> GetFileSizeMB()</P><P>{</P><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>double</FONT></FONT><FONT size=2> return_value = 0;</P><P>return_value = </FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>Convert</FONT></FONT><FONT size=2>.ToDouble((FileUpload1.FileBytes.Length / 1024.0) / 1024.0).ToString();</P><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>return</FONT></FONT><FONT size=2> return_value;</P><P>}</P><DIV></DIV><DIV>1024 bölerseniz sonuç tam çıkar.Yok bana ondalıklı sonuç lazım diyorsanız<BR>ozaman 1024.0 a böleceksiniz</DIV></FONT>]]>
   </description>
   <pubDate>Fri, 09 Jul 2010 11:17:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.datakent.com/forum_posts.asp?TID=1945&amp;PID=4234#4234</guid>
  </item> 
  <item>
   <title>Ondalıklı Sayıyı Ayrıştırmak : Merhaba; Elimizde Ondal&#305;kl&#305; bir...</title>
   <link>http://forum.datakent.com/forum_posts.asp?TID=1945&amp;PID=4233#4233</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://forum.datakent.com/member_profile.asp?PF=3122" rel="nofollow">turknetyazilim</a><br /><strong>Konu:</strong> 1945<br /><strong>Gönderim Zamanı:</strong> 09.Temmuz.2010 Saat 10:43<br /><br />Merhaba;<DIV>Elimizde Ondalıklı bir sayı var ve bunu ayrıştırmak istiyoruz.Virgülden öncesini ve sonrasını diye.</DIV><DIV>Bunun için fonksiyon hazırladım.<BR><FONT color=#0000ff size=2><FONT color=#0000ff size=2></FONT></FONT><FONT size=2><FONT size=2><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>public</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>string</FONT></FONT><FONT size=2> Ayristir(</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>string</FONT></FONT><FONT size=2> deger)</P><P>{</P><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>string</FONT></FONT><FONT size=2> virguldenSonrasi = deger.ToString().Substring(deger.ToString().IndexOf(</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>","</FONT></FONT><FONT size=2>) + 1, deger.ToString().Length - deger.ToString().IndexOf(</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>","</FONT></FONT><FONT size=2>) - 1);</P><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>string</FONT></FONT><FONT size=2> virguldenOncesi = deger.ToString().Substring(0, deger.Length - (virguldenSonrasi.Length + 1));</P><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>return</FONT></FONT><FONT size=2> virguldenOncesi + </FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>","</FONT></FONT><FONT size=2> + virguldenSonrasi.ToString();</P><P>}</P><DIV></DIV>written by iso<BR>iyi çalışmalar</FONT></FONT></DIV>]]>
   </description>
   <pubDate>Fri, 09 Jul 2010 10:43:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.datakent.com/forum_posts.asp?TID=1945&amp;PID=4233#4233</guid>
  </item> 
 </channel>
</rss>