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 4233 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

How can I convert data from a number field, .5 for example, to a readable "50%" in another calculation text field?

 

Thanks!  :cool:

Posted

Is the field type Number or text?

If it is a number field, then you need to use the Inspector and format the field as percent.

  • Like 1
Posted

Is the field type Number or text?

If it is a number field, then you need to use the Inspector and format the field as percent.

 

In this case it is not as simple as that. The result of this calculation is to be used as a merge field in a large body of text. This body of text contains, numbers, dates, dollar amounts, etc., and cannot be formatted by inspector.

Posted

I got it to work by flipping it.

 

Start with the readable text field as 50%

and a calculation field w/number result = (percent_readable / 100) resulting in .5

Posted

If you only have the one number field, the inspector will format as you wish. If there are other numbers in your merge field, then they all use the one number format. see if this Custom Function helps at all. there are some comments (I didn't read them, but you should).  FormatPercent

This topic is 4233 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.