C#C
C#3y ago
Wicked Cat

❔ Why is my decimal rounding?

I have to be missing something obvious but I would appreciate some help >.>

with merchant.markup = 20, the decimal markup should be 1.2 but it's 1
'
 decimal markup = (CurrentMerchant.Markup / 100) + 1;
Was this page helpful?