Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

question on decimals

Status
Not open for further replies.

lunchbox88

Programmer
Feb 17, 2004
208
US
Is there a difference between

decimal x = 1.00m;

and

decimal x = 1.0m;

?
 
Both of those evaluate to 1 when I watch the code in the debugger.

----------------------------------------

TWljcm8kb2Z0J3MgIzEgRmFuIQ==
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top