C# Math.Round
This is just a quick note to remind myself: <br /> Math.Round(4.4); //Returns 4.0.<br /> Math.Round(4.5); //Returns 4.0.<br /> Math.Round(4.6); //Returns 5.0. Credit: Math.Round Method
This is just a quick note to remind myself: <br /> Math.Round(4.4); //Returns 4.0.<br /> Math.Round(4.5); //Returns 4.0.<br /> Math.Round(4.6); //Returns 5.0. Credit: Math.Round Method
I’ve been very bored, doing nothing interesting, and at the same time my programming skill is no longer as polished as before. I was kinda panic, and then I realize that if I don’t wanna lose the skill, I better continue coding. A while back, I wrote a code that generate the batch-link of website addresses. Example, I wanna grab all the images at a website from: http://www.example.com/image01.jpg to http://www.example.com/image10.jpg. In a simple way, we can just copy and paste, then change the number from 01 to 10....