efecan752- Posted April 1, 2010 Share Posted April 1, 2010 Arkadaşlar bn Visual Studio 2oo8 kullanıyorum ... Bn bir sayının yüzdesini almak istiyorum ... mesela: Sayı: 130 % :40 diye girdim mi 130 un %40 ını bulmak istiyorum ... Link to comment Share on other sites More sharing options...
alparslan Posted April 1, 2010 Share Posted April 1, 2010 değişkeni 1.4 ile çarpmak işine yarar sanırım Link to comment Share on other sites More sharing options...
pcmemo Posted April 1, 2010 Share Posted April 1, 2010 int sonuc1=Convert.Toint32(Textbox1.Text)/100; int sonuc=sonuc1*ConvertToint32(Textbox2.Text); Textbox3.text=sonuc1.ToString(); Link to comment Share on other sites More sharing options...
efecan752- Posted April 1, 2010 Author Share Posted April 1, 2010 Pek anlamadım ama bi deniyeyim.. tşkler... Link to comment Share on other sites More sharing options...
wmismail Posted April 1, 2010 Share Posted April 1, 2010 Response.write sayi*yuzde/100 Link to comment Share on other sites More sharing options...
efecan752- Posted April 1, 2010 Author Share Posted April 1, 2010 tşkler... oldu Link to comment Share on other sites More sharing options...
pcmemo Posted April 1, 2010 Share Posted April 1, 2010 Response.write sayi*yuzde/100 ismail uzun yolu hep sevmişimdir kısa yazdın mı hoşuma girmiyor Link to comment Share on other sites More sharing options...
wmismail Posted April 1, 2010 Share Posted April 1, 2010 ismail uzun yolu hep sevmişimdir kısa yazdın mı hoşuma girmiyor .NET 3.5 'a geç bakalım. Herşeyi tek satırda hallediyorum Süper oluyor valla Uzatmaya ne gerek var ? Al sana mis gibi kod. Anlaşılır ve sade Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.