Jump 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.
Juggernaut

Formatting Numbers in a Formulas

Featured Replies

I have a field that I would like to concatenate two numbers. Both numbers are spend levels.

I have them looking like this $21000, how do I get the comma in ($21,000)?

Thanks for any help.

You can apply formatting to the field (right click on it, choose Number format, choose format as decimal, use notation, choose your currency symbol, under seperators, select to use a thousands seperator, and insert the comma.

  • Author

Genx: I didn't mention that this is a text field. The actual info looks like this:

$21000 / $21000

I could put both fields in seperated by a "/" but it doesn't look as clean.

Why not? If you use merge fields, it should look exactly like a calculation would.

I must confess I didn't realise that you could mix numbers and text in a merge field like this:

<>/<>

I had to specify the thousands separator and currency symbol for the merge field.

Where number1 and number2 are defined as number fields and the "/" separator I keyed manually. The trick here was to manually type the "/<>2" text as an extension to inserting a merge field (number1) on the layout.

I think a convenient way to do this would be:

1. Select the type tool and click on the layout to create a new text object;

2. Select Insert > Merge Field... > number1;

3. Type "/";

4. Select Insert > Merge Field... > number2;

5. Click outside the text object;

6. Select Format > Number... and format the fields as currency.

Note:

1. Formatting applies to all number fields merged in the text object;

2. There's a keyboard shortcut to select Insert > Merge Field...

  • Author

Thanks guys that worked great. Another lesson learned.

Create an account or sign in to comment

Important Information

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

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.