C# if statement and decimal variable is less than 1 and greater than 0

后端 未结 0 387
一生所求
一生所求 2021-02-03 11:08

I\'m new to programing and figured out that if you are dealing with money, decimal is better to use. I noticed that if I use a if statement like,

if (salePrice <

相关标签:
回答
  • 消灭零回复
提交回复
热议问题