Copy link to clipboard
Copied
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?
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.
That is what causing your result to be "Infinity", as it's an illegal operation.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
My guess is you're dividing by zero.
Copy link to clipboard
Copied
yes... sorry.
Copy link to clipboard
Copied
That is what causing your result to be "Infinity", as it's an illegal operation.