Click here to Skip to main content
15,914,222 members
Home / Discussions / C#
   

C#

 
QuestionDecimal roundoff problem Pin
Rick van Woudenberg22-Jan-07 7:15
Rick van Woudenberg22-Jan-07 7:15 
AnswerRe: Decimal roundoff problem Pin
Stefan Troschuetz22-Jan-07 7:24
Stefan Troschuetz22-Jan-07 7:24 
AnswerRe: Decimal roundoff problem Pin
PIEBALDconsult22-Jan-07 7:29
mvePIEBALDconsult22-Jan-07 7:29 
AnswerRe: Decimal roundoff problem (solved) Pin
Rick van Woudenberg22-Jan-07 8:22
Rick van Woudenberg22-Jan-07 8:22 
GeneralRe: Decimal roundoff problem (solved) Pin
Guffa22-Jan-07 9:51
Guffa22-Jan-07 9:51 
GeneralRe: Decimal roundoff problem (solved) Pin
Dave Kreskowiak22-Jan-07 10:46
mveDave Kreskowiak22-Jan-07 10:46 
GeneralRe: Decimal roundoff problem (solved) Pin
Rick van Woudenberg22-Jan-07 21:34
Rick van Woudenberg22-Jan-07 21:34 
GeneralRe: Decimal roundoff problem (solved) Pin
Stefan Troschuetz22-Jan-07 21:58
Stefan Troschuetz22-Jan-07 21:58 
Rick van Woudenberg wrote:
I KNOW that the math class does not accept decimal as a parameter , only double.


Upon which facts does your "knowledge" base? How come MSDN claims the opposite (Math.Round Method (Decimal, Int32)[^]) and the following code snippet compiles without any complaints?
decimal x = new decimal(5.555);
x = Math.Round(x, 2));



"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

www.troschuetz.de

GeneralRe: Decimal roundoff problem (solved) Pin
Dave Kreskowiak23-Jan-07 2:14
mveDave Kreskowiak23-Jan-07 2:14 
QuestionCAO serialization on Client side [modified] Pin
mdzieg22-Jan-07 7:03
mdzieg22-Jan-07 7:03 
AnswerRe: CAO serialization on Client side Pin
Marc Clifton22-Jan-07 8:06
mvaMarc Clifton22-Jan-07 8:06 
GeneralRe: CAO serialization on Client side Pin
mdzieg22-Jan-07 8:31
mdzieg22-Jan-07 8:31 
AnswerRe: CAO serialization on Client side Pin
mdzieg22-Jan-07 11:51
mdzieg22-Jan-07 11:51 
GeneralRe: CAO serialization on Client side [modified] Pin
mdzieg23-Jan-07 6:32
mdzieg23-Jan-07 6:32 
QuestionProgrammatically sharing a drive Pin
Marc Clifton22-Jan-07 6:52
mvaMarc Clifton22-Jan-07 6:52 
AnswerRe: Programmatically sharing a drive Pin
Rick van Woudenberg22-Jan-07 9:42
Rick van Woudenberg22-Jan-07 9:42 
AnswerRe: Programmatically sharing a drive Pin
Scott Dorman28-Jan-07 6:39
professionalScott Dorman28-Jan-07 6:39 
QuestionUsing LDAP for user authentication Pin
mav.northwind22-Jan-07 6:35
mav.northwind22-Jan-07 6:35 
QuestionData Grid View Setting Current Row Pin
Jawa200622-Jan-07 6:31
Jawa200622-Jan-07 6:31 
AnswerRe: Data Grid View Setting Current Row Pin
Marc Clifton22-Jan-07 6:42
mvaMarc Clifton22-Jan-07 6:42 
Questionc# Pin
Member 321217722-Jan-07 6:13
Member 321217722-Jan-07 6:13 
AnswerRe: c# Pin
GaryWoodfine 23-Jan-07 6:48
professionalGaryWoodfine 23-Jan-07 6:48 
Questionc# Pin
Member 321217722-Jan-07 6:12
Member 321217722-Jan-07 6:12 
QuestionFind active user under Fast User Switching Pin
Dave Midgley22-Jan-07 5:14
Dave Midgley22-Jan-07 5:14 
QuestionWhat the heck... Pin
Ray Cassick22-Jan-07 5:01
Ray Cassick22-Jan-07 5:01 

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.