Click here to Skip to main content
15,922,584 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
QuestionForms.. Pin
Ylno28-Oct-07 17:02
Ylno28-Oct-07 17:02 
AnswerRe: Forms.. Pin
Luc Pattyn28-Oct-07 17:10
sitebuilderLuc Pattyn28-Oct-07 17:10 
GeneralRe: Forms.. Pin
Ylno28-Oct-07 17:17
Ylno28-Oct-07 17:17 
GeneralRe: Forms.. Pin
Luc Pattyn28-Oct-07 17:42
sitebuilderLuc Pattyn28-Oct-07 17:42 
QuestionMessage Removed Pin
26-Oct-07 15:39
Armond Sarkisian26-Oct-07 15:39 
AnswerRe: Logging Into A Windows Shared Folder Pin
TJoe29-Oct-07 6:28
TJoe29-Oct-07 6:28 
QuestionSystem::Math::Round(double, 2) not behaving correctly Pin
BuckBrown26-Oct-07 11:37
BuckBrown26-Oct-07 11:37 
AnswerRe: System::Math::Round(double, 2) not behaving correctly Pin
George L. Jackson26-Oct-07 16:18
George L. Jackson26-Oct-07 16:18 
According to Microsoft's documentation:

Return Value:
The number nearest value with a precision equal to digits. If value is halfway between two numbers, one of which is even and the other odd, then the even number is returned. If the precision of value is less than digits, then value is returned unchanged.

Also:

The digits parameter specifies the number of significant digits in the return value and ranges from 0 to 15. If digits is zero, then a integer is returned.

The maximum total number of integral and fractional digits that can be returned is 15. If the rounded value contains more than 15 digits, the 15 most significant digits are returned. If the rounded value contains 15 or fewer digits, the integral digits and as many fractional digits as the digits parameter specifies are returned.

The behavior of this method follows IEEE Standard 754, section 4. This kind of rounding is sometimes called rounding to nearest, or banker's rounding.






"We make a living by what we get, we make a life by what we give." --Winston Churchill

GeneralRe: System::Math::Round(double, 2) not behaving correctly Pin
BuckBrown29-Oct-07 8:36
BuckBrown29-Oct-07 8:36 
GeneralRe: System::Math::Round(double, 2) not behaving correctly Pin
Mark Salsbery29-Oct-07 9:14
Mark Salsbery29-Oct-07 9:14 
AnswerRe: System::Math::Round(double, 2) not behaving correctly Pin
Luc Pattyn26-Oct-07 16:35
sitebuilderLuc Pattyn26-Oct-07 16:35 
GeneralRe: System::Math::Round(double, 2) not behaving correctly Pin
Mark Salsbery27-Oct-07 7:18
Mark Salsbery27-Oct-07 7:18 
QuestionCan SaveFileDialog be forced to top? Pin
BuckBrown26-Oct-07 10:54
BuckBrown26-Oct-07 10:54 
AnswerRe: Can SaveFileDialog be forced to top? Pin
Luc Pattyn26-Oct-07 11:18
sitebuilderLuc Pattyn26-Oct-07 11:18 
GeneralRe: Can SaveFileDialog be forced to top? Pin
BuckBrown26-Oct-07 11:41
BuckBrown26-Oct-07 11:41 
QuestionHow to make a listener on a folder, for client-server data synchronization? Pin
Caetano.n.a26-Oct-07 1:52
Caetano.n.a26-Oct-07 1:52 
AnswerRe: How to make a listener on a folder, for client-server data synchronization? Pin
Giorgi Dalakishvili26-Oct-07 6:26
mentorGiorgi Dalakishvili26-Oct-07 6:26 
GeneralRe: How to make a listener on a folder, for client-server data synchronization? Pin
George L. Jackson26-Oct-07 9:34
George L. Jackson26-Oct-07 9:34 
AnswerRe: How to make a listener on a folder, for client-server data synchronization? Pin
George L. Jackson26-Oct-07 9:34
George L. Jackson26-Oct-07 9:34 
Questionhow to import dll in c++ ? Pin
cmpeng3426-Oct-07 0:37
cmpeng3426-Oct-07 0:37 
AnswerRe: how to import dll in c++ ? Pin
Jonathan [Darka]26-Oct-07 1:00
professionalJonathan [Darka]26-Oct-07 1:00 
Questionchar * to String^ Pin
KienNT7825-Oct-07 21:28
KienNT7825-Oct-07 21:28 
AnswerRe: char * to String^ [modified] Pin
Mark Salsbery26-Oct-07 6:28
Mark Salsbery26-Oct-07 6:28 
AnswerRe: char * to String^ Pin
Newbie0026-Oct-07 7:10
Newbie0026-Oct-07 7:10 
GeneralRe: char * to String^ Pin
KienNT7826-Oct-07 7:40
KienNT7826-Oct-07 7:40 

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.