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

Recommended Posts

Posted

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.

Posted

I would stick to simple mathematics here. ;-)

YourNumberField * -1

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

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