[HELP] Math.Abs(Textbox1.text) issue

Posts 1–9 of 9 · Page 1 of 1
[HELP] Math.Abs(Textbox1.text) issue
Well this seems weird but for my next version (v1.4) for my program I plan to add an absolute value equation, all i know s that abs( on a graphic calculator is absolute value, so... I get an error when i get to this equation:

Quote Originally Posted by Mnpeep's Multitool v1.4 (Under Development)
If button8.enabled = false and button7.enabled = true then label5.text = math.abs(textbox1.text)
How do I fix this problem?
isn't absolute value the same number except if its a negative you take the negative out..? if so..you can just do this...
Code:
Textbox1.Text = Textbox1.Text.Replace("-","")
Yeah the absolute value of any number is that number.
oo is this like schoool math couse if it is i wana join im asian
Quote Originally Posted by bedshet View Post
oo is this like schoool math couse if it is i wana join im asian
Lol?

You need some math in coding
Well he may be doing the abs value thing because you can do multiple things inside of and outside of the abs value function that could change it to a negative.
i just wanted some help, and yes i want to know more complex things in VB so that is why i am taking the ABS equation instead of the other one. Thank you for your help, i expect my relese to come out on friday!!! ( Im gonna code alot on thursday. )
I gave you code btw...
Posts 1–9 of 9 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

Talk with us