Click here to Skip to main content
15,887,683 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionneed help Pin
Ehsan_MF25-Sep-07 21:04
Ehsan_MF25-Sep-07 21:04 
AnswerRe: need help Pin
toxcct25-Sep-07 21:10
toxcct25-Sep-07 21:10 
AnswerRe: need help Pin
Cedric Moonen25-Sep-07 21:14
Cedric Moonen25-Sep-07 21:14 
GeneralRe: need help Pin
Ehsan_MF25-Sep-07 21:27
Ehsan_MF25-Sep-07 21:27 
GeneralRe: need help Pin
Cedric Moonen25-Sep-07 21:33
Cedric Moonen25-Sep-07 21:33 
GeneralRe: need help Pin
Ehsan_MF25-Sep-07 21:43
Ehsan_MF25-Sep-07 21:43 
QuestionRounding double value Pin
KASR125-Sep-07 20:47
KASR125-Sep-07 20:47 
AnswerRe: Rounding double value Pin
Nelek25-Sep-07 20:50
protectorNelek25-Sep-07 20:50 
Math.round ();

public static long round( double a )
Parameters
a
a double value.
Returns
the value of the argument rounded to the nearest long value.
Description
Returns the closest long to the argument.
If the argument is negative infinity or any value less than or equal to the value of Long.MIN_VALUE, the result is equal to the value of Long.MIN_VALUE.

If the argument is positive infinity or any value greater than or equal to the value of Long.MAX_VALUE, the result is equal to the value of Long.MAX_VALUE.



Greetings.

--------
M.D.V.

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?

Help me to understand what I'm saying, and I'll explain it better to you

Wink | ;)

GeneralRe: Rounding double value Pin
KASR125-Sep-07 20:54
KASR125-Sep-07 20:54 
GeneralRe: Rounding double value Pin
megha_gharote25-Sep-07 20:58
megha_gharote25-Sep-07 20:58 
GeneralRe: Rounding double value Pin
Cedric Moonen25-Sep-07 21:16
Cedric Moonen25-Sep-07 21:16 
GeneralRe: Rounding double value Pin
Cedric Moonen25-Sep-07 21:02
Cedric Moonen25-Sep-07 21:02 
GeneralRe: Rounding double value Pin
Stephen Hewitt25-Sep-07 21:17
Stephen Hewitt25-Sep-07 21:17 
GeneralRe: Rounding double value Pin
Nelek25-Sep-07 21:54
protectorNelek25-Sep-07 21:54 
AnswerRe: Rounding double value Pin
Cedric Moonen25-Sep-07 20:55
Cedric Moonen25-Sep-07 20:55 
GeneralRe: Rounding double value Pin
KASR125-Sep-07 21:03
KASR125-Sep-07 21:03 
GeneralRe: Rounding double value Pin
Nishad S25-Sep-07 21:09
Nishad S25-Sep-07 21:09 
GeneralRe: Rounding double value Pin
Cedric Moonen25-Sep-07 21:13
Cedric Moonen25-Sep-07 21:13 
AnswerRe: Rounding double value [modified] Pin
Nelek25-Sep-07 21:51
protectorNelek25-Sep-07 21:51 
AnswerRe: Rounding double value Pin
beko25-Sep-07 23:57
beko25-Sep-07 23:57 
GeneralRe: Rounding double value Pin
KASR126-Sep-07 1:15
KASR126-Sep-07 1:15 
QuestionCan we post data on web site through VC++ application? Pin
megha_gharote25-Sep-07 20:42
megha_gharote25-Sep-07 20:42 
QuestionRe: Can we post data on web site through VC++ application? Pin
Hamid_RT25-Sep-07 21:02
Hamid_RT25-Sep-07 21:02 
AnswerRe: Can we post data on web site through VC++ application? Pin
megha_gharote25-Sep-07 21:04
megha_gharote25-Sep-07 21:04 
GeneralRe: Can we post data on web site through VC++ application? Pin
Hamid_RT25-Sep-07 21:25
Hamid_RT25-Sep-07 21:25 

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.