Click here to Skip to main content
15,902,917 members
Home / Discussions / C#
   

C#

 
GeneralRe: shared folders Pin
Judah Gabriel Himango27-Jun-05 8:57
sponsorJudah Gabriel Himango27-Jun-05 8:57 
GeneralAre you good with Maths API Pin
hasanali0027-Jun-05 4:05
hasanali0027-Jun-05 4:05 
GeneralRe: Are you good with Maths API Pin
DavidNohejl27-Jun-05 4:13
DavidNohejl27-Jun-05 4:13 
GeneralRe: Are you good with Maths API Pin
mav.northwind27-Jun-05 4:19
mav.northwind27-Jun-05 4:19 
GeneralRe: Are you good with Maths API Pin
Roger Wright27-Jun-05 4:28
professionalRoger Wright27-Jun-05 4:28 
GeneralRe: Are you good with Maths API Pin
Stefan Troschuetz27-Jun-05 4:33
Stefan Troschuetz27-Jun-05 4:33 
GeneralRe: Are you good with Maths API Pin
Daniel Monzert27-Jun-05 4:44
Daniel Monzert27-Jun-05 4:44 
GeneralRe: Are you good with Maths API Pin
Daniel Monzert27-Jun-05 5:09
Daniel Monzert27-Jun-05 5:09 
While walking at the abyss of insanity, I found out, you can use something completely senseless, far away from anything that could be called useful. Evalute strings.

int x = 27;<br />
int n = 0;<br />
string seperator = System.Globalization.NumberFormatInfo.CurrentInfo.NumberDecimalSeparator;<br />
<br />
double d = ((double)x / 10.0d);<br />
string s = d.ToString("F1");<br />
<br />
if (!s.Substring(s.IndexOf(seperator) + 1, 1).Equals("0"))<br />
{<br />
d += 1.0d;<br />
s = d.ToString("F1");<br />
}<br />
<br />
n = int.Parse(s.Substring(0, s.IndexOf(seperator)));

GeneralRe: Are you good with Maths API Pin
mav.northwind27-Jun-05 5:44
mav.northwind27-Jun-05 5:44 
GeneralRe: Are you good with Maths API Pin
StylezHouse27-Jun-05 9:49
StylezHouse27-Jun-05 9:49 
GeneralRe: Are you good with Maths API Pin
Daniel Monzert27-Jun-05 10:15
Daniel Monzert27-Jun-05 10:15 
GeneralRe: Are you good with Maths API Pin
Niklas Ulvinge27-Jun-05 9:49
Niklas Ulvinge27-Jun-05 9:49 
GeneralRe: Are you good with Maths API Pin
hasanali0027-Jun-05 23:01
hasanali0027-Jun-05 23:01 
GeneralOdbc Dataadapter error Pin
V.27-Jun-05 3:12
professionalV.27-Jun-05 3:12 
GeneralData counter Pin
Locdx27-Jun-05 2:06
Locdx27-Jun-05 2:06 
GeneralRe: Data counter Pin
Anonymous27-Jun-05 4:00
Anonymous27-Jun-05 4:00 
GeneralRe: Data counter Pin
Locdx30-Jun-05 1:08
Locdx30-Jun-05 1:08 
Questionfocused list view item? Pin
george ivanov27-Jun-05 1:34
george ivanov27-Jun-05 1:34 
AnswerRe: focused list view item? Pin
mav.northwind27-Jun-05 1:55
mav.northwind27-Jun-05 1:55 
QuestionDoes DNSqueries against Open Relay Databases differ in any way from regular DNSqueries? Pin
Stoffe27-Jun-05 0:51
Stoffe27-Jun-05 0:51 
GeneralExract Data from LParam Pin
einish27-Jun-05 0:13
einish27-Jun-05 0:13 
GeneralRe: Exract Data from LParam Pin
Dave Kreskowiak27-Jun-05 9:31
mveDave Kreskowiak27-Jun-05 9:31 
Generaltreeviews... Pin
deep726-Jun-05 23:35
deep726-Jun-05 23:35 
GeneralRe: treeviews... Pin
S. Senthil Kumar26-Jun-05 23:50
S. Senthil Kumar26-Jun-05 23:50 
GeneralRe: treeviews... Pin
deep727-Jun-05 1:51
deep727-Jun-05 1:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.