Working with decimals in C#
Posted on 2004-10-07
I have a few questions regarding variables of type decimal in C#:
1. How do I define a decimal literal? (i.e. 100.1)
2. How do I compare a decimal variable to a literal?
if (value > 100.1) ..........is giving me an error about using the > with a decimal