TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
shosho s
NA
137
98.8k
How can i multiply a decimal? with a double?
Apr 10 2016 4:11 AM
the properties :
public decimal? Percentage { get; set; }
public double Amount { get; set;
foreach (var item in updatethis)
{
item.Amount = (CPP.Percentage * CPP.Amount);
}
Im getting this error
Operator '*' cannot be applied to operands of type 'decimal?' and 'double'
how can i solve this ? thank you in advance :)
Reply
Answers (
4
)
Selection Problem
When to use In Memory Caching and Distributed Caching in C#?