.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Post New Resource Bookmark and Share   

For Loop with Float step

Posted By:SanthoshNathan       Posted Date: December 20, 2010    Points: 15    Category:    URL: http://www.dotnetspark.com  

For Loop with Float step

Imports System

Public Class MainClass
    Shared Sub Main()

        Dim loopCounter As Single
        For loopCounter = 0.5 To 9 Step 0.5
            Console.WriteLine("loopCounter: {0}", loopCounter)
    End Sub

End Class


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend