Click here to Skip to main content
15,915,094 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: upper limit on the number of projects for soultion in vs2005 Pin
PIEBALDconsult3-Aug-08 17:29
mvePIEBALDconsult3-Aug-08 17:29 
QuestionAbout timeseries plot Pin
mahabir25-Jul-08 19:22
mahabir25-Jul-08 19:22 
AnswerRe: About timeseries plot Pin
Paul Conrad2-Aug-08 21:03
professionalPaul Conrad2-Aug-08 21:03 
QuestionSetting a timeout time for MarshalByRefObject? Pin
jeffb4225-Jul-08 10:48
jeffb4225-Jul-08 10:48 
AnswerRe: Setting a timeout time for MarshalByRefObject? Pin
Mark Salsbery25-Jul-08 11:51
Mark Salsbery25-Jul-08 11:51 
GeneralRe: Setting a timeout time for MarshalByRefObject? Pin
jeffb4225-Jul-08 13:57
jeffb4225-Jul-08 13:57 
QuestionAny good way to update an object reference plus something else in a single CompareExchange? Pin
supercat925-Jul-08 8:00
supercat925-Jul-08 8:00 
AnswerRe: Any good way to update an object reference plus something else in a single CompareExchange? Pin
Mike Dimmick28-Jul-08 0:47
Mike Dimmick28-Jul-08 0:47 
GeneralRe: Any good way to update an object reference plus something else in a single CompareExchange? Pin
supercat928-Jul-08 5:50
supercat928-Jul-08 5:50 
GeneralRe: Any good way to update an object reference plus something else in a single CompareExchange? Pin
Luc Pattyn28-Jul-08 7:00
sitebuilderLuc Pattyn28-Jul-08 7:00 
GeneralRe: Any good way to update an object reference plus something else in a single CompareExchange? Pin
supercat928-Jul-08 9:37
supercat928-Jul-08 9:37 
GeneralRe: Any good way to update an object reference plus something else in a single CompareExchange? Pin
led mike28-Jul-08 9:53
led mike28-Jul-08 9:53 
GeneralRe: Any good way to update an object reference plus something else in a single CompareExchange? Pin
Luc Pattyn28-Jul-08 10:09
sitebuilderLuc Pattyn28-Jul-08 10:09 
GeneralRe: Any good way to update an object reference plus something else in a single CompareExchange? Pin
supercat928-Jul-08 15:20
supercat928-Jul-08 15:20 
GeneralRe: Any good way to update an object reference plus something else in a single CompareExchange? Pin
Luc Pattyn28-Jul-08 16:05
sitebuilderLuc Pattyn28-Jul-08 16:05 
GeneralRe: Any good way to update an object reference plus something else in a single CompareExchange? Pin
supercat928-Jul-08 15:54
supercat928-Jul-08 15:54 
Questionrounding to five decimal digits Pin
CICCIOLO6924-Jul-08 22:50
CICCIOLO6924-Jul-08 22:50 
I'll try to explain :
look this example :

Module

Module1
Sub Main()

Dim num AsDouble = 1.25

Console.WriteLine(Math.Round(num, 1, MidpointRounding.AwayFromZero))

num = 1.225

Console.WriteLine(Math.Round(num, 2, MidpointRounding.AwayFromZero))

num = 1.2225

Console.WriteLine(Math.Round(num, 3, MidpointRounding.AwayFromZero))

num = 1.22225

Console.WriteLine(Math.Round(num, 4, MidpointRounding.AwayFromZero))

num = 1.222225

Console.WriteLine(Math.Round(num, 5, MidpointRounding.AwayFromZero))

num = 1.2222225

Console.WriteLine(Math.Round(num, 6, MidpointRounding.AwayFromZero))

EndSub

End

Module


The output of this sample console application is :
1,3
1,23
1,223
1,2223
1,22222
1,222223

Is there something wrong ?
In my application I must use five decimal digits and this round method.

Regards
Andrea
Answercross-post Pin
Luc Pattyn25-Jul-08 5:18
sitebuilderLuc Pattyn25-Jul-08 5:18 
Answer[Cross Post]Re: rounding to five decimal digits (with link to original message) Pin
Scott Dorman25-Jul-08 5:21
professionalScott Dorman25-Jul-08 5:21 
AnswerRe: rounding to five decimal digits Pin
ghle26-Jul-08 5:47
ghle26-Jul-08 5:47 
QuestionWindows Service : More than one user Service may run within the same process Pin
Krugger40424-Jul-08 21:48
Krugger40424-Jul-08 21:48 
Answer[Cross Post]Re: Windows Service : More than one user Service may run within the same process Pin
Scott Dorman25-Jul-08 4:18
professionalScott Dorman25-Jul-08 4:18 
GeneralRe: [Cross Post]Re: Windows Service : More than one user Service may run within the same process Pin
Krugger40425-Jul-08 11:01
Krugger40425-Jul-08 11:01 
GeneralRe: [Cross Post]Re: Windows Service : More than one user Service may run within the same process Pin
Scott Dorman25-Jul-08 14:15
professionalScott Dorman25-Jul-08 14:15 
QuestionPlease Clear my doubt !! Pin
guriqbal8724-Jul-08 2:37
guriqbal8724-Jul-08 2:37 

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.