Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 6922 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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.

Posted

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

Lee

Posted

You might try this.

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

((price - cost) / price) / 100

This topic is 6922 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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