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

Hide 3rd decimal number if zero

Community Beginner ,
Sep 24, 2018 Sep 24, 2018

Copy link to clipboard

Copied

I have a percentage with 3 decimal places, however I need to hide the 3rd decimal number if it is a zero. What would be the script for this?

TOPICS
PDF forms

Views

273

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
LEGEND ,
Sep 24, 2018 Sep 24, 2018

Copy link to clipboard

Copied

That would require changing the field's formatting on the fly. There is a little documented funciton AFPercent_Format function that might work.

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 Beginner ,
Sep 24, 2018 Sep 24, 2018

Copy link to clipboard

Copied

LATEST

Disregard the info about it being a "percentage". This symbol is being added separately to this field. I'm really just looking for a script that will drop a zero if the 3rd digit is a zero. For example if 8.250 it will appear as 8.25.

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