Dr. Evil Posted June 18, 2013 Posted June 18, 2013 How can I convert data from a number field, .5 for example, to a readable "50%" in another calculation text field? Thanks!
Lee Smith Posted June 18, 2013 Posted June 18, 2013 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. 1
Dr. Evil Posted June 18, 2013 Author Posted June 18, 2013 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.
Dr. Evil Posted June 18, 2013 Author Posted June 18, 2013 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
Lee Smith Posted June 18, 2013 Posted June 18, 2013 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now