Jump to content
Sign in to follow this  

simple percentage help

Recommended Posts

I feel kind of dumb even asking but I need too.

I have a startfield and and endfield.

I need to know what percent the endfield is of the startfield.

startfield = 50

endfield = 25

I know its 50% but i'm not sure how to write this in FileMaker


Share this post

Link to post
Share on other sites

Thanks for helping me. I guess my question should have been a little different. I didn't ask for what I really ended up needing.

I ended up going with this.

Let ( [$$mid = Start - End] ; $$mid / Start * 100 & "%"


Thank again you did help me out.

Share this post

Link to post
Share on other sites

Well, that actually answers what percentage of Start is the difference.

However, I would suggest:

1. Do not use $$variables in a Let() function, unless you need them elsewhere;

2. Instead of multiplying by 100 and appending the % sign, make the result a Number and format the field to display as percentage.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...

Important Information

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