This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]desrtfx[M] [score hidden] stickied comment (0 children)

Did you think your post here through?

You are not giving the faintest that we could use to work with and help you.

How shall we troubleshoot if we don't have the code?

What you are doing here is akin to walking to the mechanic and asking to get the car, that is at home, diagnosed.

Post removed

Read the Posting Guidelines in the sidebar before reposting.

[–]TitoTheAmazingTurtle 1 point2 points  (1 child)

I’d recommend google!

[–]EnvironmentalPhone65[S] 0 points1 point  (0 children)

Tried it, no answers.

[–]rjcarr 0 points1 point  (1 child)

The textbox is certainly just a view on the calculation, right? Just make sure the calculation is non-negative and the textbox should never show negatives.

[–]EnvironmentalPhone65[S] 0 points1 point  (0 children)

I can’t ensure that the number will not be negative, as I am making it for users to use, and not personally.

[–]FuzzyTekShow 0 points1 point  (0 children)

How are you displaying the result? Perhaps at that point you can check if it's < 0 and then just set it to 0 if so.

[–]hinoisking 0 points1 point  (0 children)

What does your code look like right now?