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

How to judge Infinity ?

Participant ,
May 09, 2020 May 09, 2020

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?

TOPICS
Acrobat SDK and JavaScript

Views

662

Translate

Translate

Report

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.

Votes

Translate

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

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

Votes

Translate

Translate
Participant ,
May 09, 2020 May 09, 2020

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.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

My guess is you're dividing by zero.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

yes... sorry.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

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