You are viewing our Forum Archives. To view or take place in current topics click here.
#21. Posted:
Sapientia
  • TTG Senior
Status: Offline
Joined: Sep 05, 201013Year Member
Posts: 1,286
Reputation Power: 59
Status: Offline
Joined: Sep 05, 201013Year Member
Posts: 1,286
Reputation Power: 59
Label1.Text = TextBox1.Text / Textbox2.Text

Ami Right?
#22. Posted:
Z61
  • TTG Fanatic
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
ProgramminGawd wrote
Experiment5X wrote
ProgramminGawd wrote
Nowhere did I state I didn't want him to release it.
If I'm honest, I don't understand why everyone is so fcking butthurt over it, all I did was post the source, it's not like it's a fcking sin.
Why make people wait a day for 3 lines of code?


It's not what you said, it's how you said it. You act like an arrogant **** every time you post. You seem to think you're superior to everyone when it comes to programming, honestly I have no idea how good/bad you are at coding, but regardless of your skill it doesn't give you the right to be an ****.

I'm not being an ****, Jesus christ.
I posted THREE LINES OF CODE
And everyones acting like I've committed a jail worthy act.

Its not just this, every time you comment in the programming section it is negative.
#23. Posted:
ProgramminGawd
  • New Member
Status: Offline
Joined: Nov 27, 201112Year Member
Posts: 44
Reputation Power: 1
Status: Offline
Joined: Nov 27, 201112Year Member
Posts: 44
Reputation Power: 1
Ariana_Grande wrote Label1.Text = TextBox1.Text / Textbox2.Text

Ami Right?

Watch out broseph, they might kill you for posting that
#24. Posted:
Experiment5X
  • TTG Senior
Status: Offline
Joined: Aug 14, 200914Year Member
Posts: 1,291
Reputation Power: 65
Status: Offline
Joined: Aug 14, 200914Year Member
Posts: 1,291
Reputation Power: 65
Ariana_Grande wrote Label1.Text = TextBox1.Text / Textbox2.Text

Ami Right?


No, you need to parse the text. Your computer can't add text together, right now it sees the stuff in the text boxes as text not numbers so you'd need to do:

Label1.Text = (Int.Parse(TextBox1.Text) / Int.Parse(TextBox2.Text)).ToString()

(that may not be 100% correct as I don't know VB)


ProgramminGawd wrote
Ariana_Grande wrote Label1.Text = TextBox1.Text / Textbox2.Text

Ami Right?

Watch out broseph, they might kill you for posting that


I'm not mad at you for posting the code, I'm mad at you because your name is ProgramminGawd, and because you said something like "why would you post this it's so easy".
#25. Posted:
Extazc
  • TTG Senior
Status: Offline
Joined: Aug 17, 201112Year Member
Posts: 1,444
Reputation Power: 75
Status: Offline
Joined: Aug 17, 201112Year Member
Posts: 1,444
Reputation Power: 75
Ariana_Grande wrote Label1.Text = TextBox1.Text / Textbox2.Text

Ami Right?


Just need to put brackets around (textbox1.text/textbox2.text)
#26. Posted:
Extazc
  • TTG Senior
Status: Offline
Joined: Aug 17, 201112Year Member
Posts: 1,444
Reputation Power: 75
Status: Offline
Joined: Aug 17, 201112Year Member
Posts: 1,444
Reputation Power: 75
Gawddamn a little argument going on over here didnt realise and sorry prograaminggawd but **** off
#27. Posted:
Derp
  • TTG Senior
Status: Offline
Joined: Jan 24, 201014Year Member
Posts: 1,478
Reputation Power: 106
Status: Offline
Joined: Jan 24, 201014Year Member
Posts: 1,478
Reputation Power: 106
Nice little tool. You should make it so that it only allows two decimal places like on CoD and BF3.
#28. Posted:
Extazc
  • TTG Senior
Status: Offline
Joined: Aug 17, 201112Year Member
Posts: 1,444
Reputation Power: 75
Status: Offline
Joined: Aug 17, 201112Year Member
Posts: 1,444
Reputation Power: 75
Derp wrote Nice little tool. You should make it so that it only allows two decimal places like on CoD and BF3.


Thanks for the feedback i will try doing that now
#29. Posted:
Z61
  • V5 Launch
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
Extazc wrote
Derp wrote Nice little tool. You should make it so that it only allows two decimal places like on CoD and BF3.


Thanks for the feedback i will try doing that now

That would be cool to see.
#30. Posted:
Extazc
  • TTG Senior
Status: Offline
Joined: Aug 17, 201112Year Member
Posts: 1,444
Reputation Power: 75
Status: Offline
Joined: Aug 17, 201112Year Member
Posts: 1,444
Reputation Power: 75
I Have updated the decimal places now i will be releasing this in an hour or so...
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.