Click here to Skip to main content
15,892,697 members
Home / Discussions / C#
   

C#

 
GeneralRe: Lock the cursor type Pin
Skippums18-Dec-07 6:48
Skippums18-Dec-07 6:48 
GeneralRe: Lock the cursor type Pin
Kalvin @ Work18-Dec-07 7:50
Kalvin @ Work18-Dec-07 7:50 
GeneralRe: Lock the cursor type Pin
Skippums18-Dec-07 8:02
Skippums18-Dec-07 8:02 
GeneralRe: Lock the cursor type Pin
Kalvin @ Work18-Dec-07 11:10
Kalvin @ Work18-Dec-07 11:10 
QuestionMath.Round..What am I missing? Pin
jayart18-Dec-07 4:40
jayart18-Dec-07 4:40 
AnswerRe: Math.Round..What am I missing? Pin
Stevo Z18-Dec-07 4:47
Stevo Z18-Dec-07 4:47 
AnswerRe: Math.Round..What am I missing? Pin
benjymous18-Dec-07 4:58
benjymous18-Dec-07 4:58 
GeneralRe: Math.Round..What am I missing? Pin
jayart18-Dec-07 5:03
jayart18-Dec-07 5:03 
I tried with decimal too.
Did not help much..
This is what I tried.

<br />
        private void Roundupto2Decimals(ref float fVal)<br />
        {<br />
            decimal decVal = Math.Round((decimal)fVal, 2);<br />
            fVal = (float)decVal;<br />
            double dVal = (double)fVal;<br />
        }<br />


Any other idea?
GeneralRe: Math.Round..What am I missing? Pin
Stevo Z18-Dec-07 5:27
Stevo Z18-Dec-07 5:27 
GeneralRe: Math.Round..What am I missing? Pin
jayart18-Dec-07 5:35
jayart18-Dec-07 5:35 
AnswerRe: Math.Round..What am I missing? Pin
led mike18-Dec-07 5:07
led mike18-Dec-07 5:07 
GeneralRe: Math.Round..What am I missing? Pin
jayart18-Dec-07 5:32
jayart18-Dec-07 5:32 
AnswerRe: Math.Round..What am I missing? Pin
dipak.dipak18-Dec-07 5:24
dipak.dipak18-Dec-07 5:24 
GeneralRe: Math.Round..What am I missing? Pin
Luc Pattyn18-Dec-07 5:55
sitebuilderLuc Pattyn18-Dec-07 5:55 
Questionquestion about FrameWork 3.5 Pin
E_Gold18-Dec-07 4:07
E_Gold18-Dec-07 4:07 
GeneralRe: question about FrameWork 3.5 Pin
Colin Angus Mackay18-Dec-07 4:31
Colin Angus Mackay18-Dec-07 4:31 
GeneralRe: question about FrameWork 3.5 Pin
Paul Conrad24-Dec-07 19:52
professionalPaul Conrad24-Dec-07 19:52 
QuestionHttpWebRequest ? Pin
cd_dvd18-Dec-07 3:59
cd_dvd18-Dec-07 3:59 
GeneralRe: HttpWebRequest ? Pin
Vasudevan Deepak Kumar18-Dec-07 4:12
Vasudevan Deepak Kumar18-Dec-07 4:12 
GeneralRe: HttpWebRequest ? Pin
cd_dvd18-Dec-07 4:31
cd_dvd18-Dec-07 4:31 
GeneralRuntime type casting Pin
Skippums18-Dec-07 3:23
Skippums18-Dec-07 3:23 
GeneralRe: Runtime type casting Pin
CKnig18-Dec-07 3:29
CKnig18-Dec-07 3:29 
GeneralRe: Runtime type casting Pin
CKnig18-Dec-07 3:32
CKnig18-Dec-07 3:32 
GeneralRe: Runtime type casting Pin
Skippums18-Dec-07 6:37
Skippums18-Dec-07 6:37 
GeneralRe: Runtime type casting Pin
m@u18-Dec-07 3:35
m@u18-Dec-07 3:35 

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.