Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // For reference, CalculatePrice() returns 'decimal', Model.Quantity is an int
- decimal hprice = Model.CalculatePrice() * decimal.Parse(Model.Quantity.ToString());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement