P
P
Persotr272019-03-23 19:40:50
C++ / C#
Persotr27, 2019-03-23 19:40:50

The result of the calculation is "not a number", but not always. What is the problem?

Hello. There is a program that calculates a value and sets it to a TextBox. Sometimes a number is written there, and sometimes it writes "not a number" in the text. What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ronald McDonald, 2019-03-23
@Persotr27

Division by zero, for example.
In the debugger, look at what numbers are written there and everything will become clear.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question