Try
Code:math.abs(int32.parse(Textbox1.text))
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:
How do I fix this problem?Originally Posted by Mnpeep's Multitool v1.4 (Under Development)
Try
Code:math.abs(int32.parse(Textbox1.text))
"I don't believe in an afterlife, so I don't have to spend my whole life fearing hell, or fearing heaven even more. For whatever the tortures of hell, I think the boredom of heaven would be even worse." - Isaac Asimov
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.
"I don't believe in an afterlife, so I don't have to spend my whole life fearing hell, or fearing heaven even more. For whatever the tortures of hell, I think the boredom of heaven would be even worse." - Isaac Asimov
oo is this like schoool math couse if it is i wana join im asian
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 don't believe in an afterlife, so I don't have to spend my whole life fearing hell, or fearing heaven even more. For whatever the tortures of hell, I think the boredom of heaven would be even worse." - Isaac Asimov
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...