Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Displaying Number as a percentage

Featured Replies

Hi

This has cropped up again and I couldn't get it to work before. Whilst it is not of any real importance I would appreciate it if someone could point out what I am doing wrong.

I have a calc field 'margin' that calculates the margin as a percentage. When I display this field I would like it to have a trailing '%' mark.

Let's assume this field contains 55.347654321 (which to me is fifty five point three four percent).

When I go to format number for the field and set it to display as decimal to 2 places with the percentage notation I get 5534.76 %

If I set it to display as decimal to 0 places It displays as 5534 %.

How do I get it to display as 55.34% as I would like without having to include the % as text on my layout?

TIA

Phil

Phil, surely you know that 50% means half. Therefore:

0.5 = 50%

1 = 100%

55.3 = 5530%

This is not a question of display. Your calculation needs to be divided by hundred at the end.

There is something wrong with your first answer. Your 55.34, s/b in raw from .5534. Are you dividing correctly?

Lee

You might try this.

In your margin calulation field could you take your formula and divide it by 100?

((price - cost) / price) / 100

  • Author

Thank you gentlemen, I see what it is doing now

Phil

Edited by Guest

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.