Hi All ,how do i round up this to 2 decimals:
public override double GetPaymentAmount()
{
double paymentAmount = (WeeklySalary * 52 / 12);
return paymentAmount;
}
PulsarScript 0
Junior Poster
Recommended Answers
Jump to PostIt's in your post title... see this overload of Math.Round; I think it is what you're looking for.
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.