Skip 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.

Negative to a positive number value and vice-versa

Featured Replies

Hi everyone!

I can't seem to get this one but it seems as though it should be a simple calculation.

I'm trying to set up a calculation field that references a number field and returns positive value if it's negative and a negative value if it's positive.

Here's my approach which is apparently wrong:

[color:blue]

Case(

Amount < 0 ; Filter ( "1234567890." ; Amount );

"-" & Amount

)

I think it's wrong because when it references an amount like "-10,000" it returns "10". What happened to the other "0"s?

Thanks in advance.

I would stick to simple mathematics here. ;-)

YourNumberField * -1

P.S. Make sure that YourNumberField is indeed a number field.

  • Author

OMG I forgot my 2nd grade math skills. I'm going to crawl under my rock now. Thanks for your help.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.