Questions tagged [int32]

int32 is a datatype that represents an integer and is coded on 32 bits in memory.

int32 is a datatype that represents an (a whole number, not a fraction) and is coded on 32 bits in memory. Unlike its counterpart which is , int32 can be used to store positive and negative integers, of values between -231 to 231 - 1.

187 questions
-2
votes
2 answers

c# Progressbar, Overflow returns negative value

I'm creating a backup application. I have 5 folders in different locations what needs to be copied to one backup folder. (solved via checkbox.checked) The main issue is that some of the folders are more than 3-4GB in total (with all subfolders)…
-2
votes
1 answer

How to use a for loop with an integer

I'm trying to add an option to do something a set amount of times, but I couldn't get an int32 to work with it. I'm using dim Int As Int32() For i = 0 To Int 'code Next i Any help is appreciated. Thanks.
WireIsCool
  • 11
  • 1
  • 4
-2
votes
1 answer

how does "=" operator work with Int32 in .Net

when I dove into mscolib.dll assembly I found that Int32 is a struct,but I don't know why we can apply "=" operator to Int32 like this Int32 num=5;.it doesn't overload "=" operator within the Int32 struct.
-2
votes
2 answers

Input string was not in a correct format - Slot Mchine App

I get the error: 'Input string was not in a correct format'..... I am running an if else calculation and then populating a label with the result the variable is declared as decimal then ToString('C') to the label... List moneyWon = new…
ghowell
  • 5
  • 3
-2
votes
4 answers

Problems When Converting String that Contains a Period (.) to Int32 in C#

I'm creating a POS (Point Of Sale) and I've come across a problem when trying to convert the price "0.60" to an integer. Data Background: All the Data for the Data Source is from a MySQL database that I have setup and connected with no problems.…
Logan Walker
  • 17
  • 1
  • 8
-3
votes
2 answers

How to assign 01 which should not get converted to 1 with Int32 in C# and gives 01 when refered

-How to assign 01 which should not get converted to 1 with Int32 in C# and gives 01 when referred.
SANKET_121
  • 15
  • 4
-4
votes
3 answers

Input string was not in a correct format in c#, int value is not in correct format

Following is the code for it: protected void Upload(object sender, EventArgs e) { if (FileUpload1.HasFile) { //Upload and save the file string csvPath = Server.MapPath("~/App_Data/") +…
1 2 3
12
13