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.

Evaluate

Featured Replies

Interesting last two:

Evaluate ( "2 + 1" ) = 3

Evaluate ( "- 2 + 1" ) = -1

Evaluate ( "+ + + 2 + + + 1" ) = 3

Evaluate ( "+ + + 2 + - + 1" ) = 1

It makes sense: minus inverts, plus doesn't. "2 + - + 1" could be rewritten as:

2 + 1 * (-1) * 1

  • Author

Yes, I undersood the minus but I was surprised that the Evaluate ( ) worked with more signs.

( while Evaluate ( "2+1+" ) I know that doesn't work )

The surprise was coming while I made a substitution of ¶ with + in a List where there was some "¶¶"

It may seem a bit unnatural - but it's not much different from "not not 1".

  • Author

NOW it makes sense :

P.S: This is nice, too:

Abs ( + + + 1 + + + - + 3 )

( w/o any quote )

So, for the calculation engine, this is a number:

+ + + 1 + + + - + 3

I am not sure it's a number, but it evaluates to a number.

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.