Banker's Rounding vs. Common Rounding in .NET (blog.troyd.net)

submitted by powerrushpowerrush(3873) 4 years, 6 months ago

Depending on your math background, .NET's rounding functionality MAY NOT work the way you expect!!! Check out the included code to implement an alternative (known as Common Rounding) in addition to .NET's built-in Math.Round() function.

1 comment |category: |Views: 35

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by AnnaBay21AnnaBay21(0) 4 years, 6 months ago 0

Thanks a lot!!!This code is really helping with the functionality !!!

Reply

information Login or create an account to comment on this story