Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unrecognized syntax
Message
From
24/10/2006 16:50:23
John Baird
Coatesville, Pennsylvania, United States
 
 
To
24/10/2006 14:13:19
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01164149
Message ID:
01164197
Views:
16
>In the C# version of the MM Northwind sample application the Orders.cs class code has a line of code that has a lower case "m" at the end that I do not recognize. Line #119 in the Orders.cs file has the following:
>
> Order.Freight = .0m;
>
>This line does not cause an error, but can anyone tell me what the "m" does?


I believe it is a cast from float to decimal, but not sure...
Previous
Reply
Map
View

Click here to load this message in the networking platform