Skip to main content
Inspiring
May 9, 2020
Answered

How to judge Infinity ?

  • May 9, 2020
  • 2 replies
  • 967 views

I don't know how to judge when the value of the field is Infinity.

Is isFinite cannot be used ?

If not, how can I determine it?

This topic has been closed for replies.
Correct answer try67

That is what causing your result to be "Infinity", as it's an illegal operation.

2 replies

try67
Community Expert
May 9, 2020

My guess is you're dividing by zero.

Inspiring
May 9, 2020

yes... sorry.

try67
try67Correct answer
Community Expert
May 9, 2020

That is what causing your result to be "Infinity", as it's an illegal operation.

Inspiring
May 9, 2020

Sorry ! It's my other mistake. 

isFinite is available.

 

I want to erase this question but I don't know how to use this site.