Solved

Cast to numeric integer used in for loop.

Posted on 2007-04-02
5
147 Views
Last Modified: 2010-04-23
txtMaxPeriod

 For Index As Integer = 0 To txtMaxPeriod - 1
0
Comment
Question by:mathieu_cupryk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 250 total points
ID: 18837729
int MaxPeriod = Int.Parse(txtMaxPeriod.Text)

 For Index As Integer = 0 To MaxPeriod - 1
0
 

Author Comment

by:mathieu_cupryk
ID: 18837799
Overload....
0
 

Author Comment

by:mathieu_cupryk
ID: 18837906
Int32.Parse(sNumber)
0
 

Author Comment

by:mathieu_cupryk
ID: 18837909
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 18838002
sorry, I always forget the 32 ...
glad I could help
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question