Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to judge Infinity ?

Participant ,
May 09, 2020 May 09, 2020

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?

TOPICS
Acrobat SDK and JavaScript
904
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Participant , May 09, 2020 May 09, 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.

Translate
Community Expert , May 09, 2020 May 09, 2020

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

Translate
Participant ,
May 09, 2020 May 09, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 09, 2020 May 09, 2020

My guess is you're dividing by zero.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 09, 2020 May 09, 2020

yes... sorry.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 09, 2020 May 09, 2020
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines