Quote:Can you convert and run this VB.NET code in java editor?
Yes, I can, but I will not.
Quote:I am getting error with the code below on .Net.
Try to tell us the error message and position, or problem, you will be more likely to get help.
Nota : your code look specially crafted to get rounding errors.