John Baird
Coatesville, Pennsylvania, United States
General information
Category:
The Mere Mortals .NET Framework
Environment versions
Network:
Windows 2003 Server
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only