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.

Simple solution to using percentage?

Featured Replies

Hi all!

I guess this is really easy, but somehow I don't seem to be able to think straight today...

First Field: a simple value. Like 100 dollars.

Second Field: a percentage value. Like 10%.

Third Field: The sum of First and Second Field.

Easy, isn't it?!! Well, at least not for me right now.

Any suggestions?

Thanks in advance

Anders

The units of those two things are different (dollars and percent), so they don't really add up.

Do you mean to add 10% of $100 to $100? That would be $110, or:

Dollars * (1 + PercentIncrease)

  • Author

Oh, sorry I wasn't clear. No, I want the sum Field to display the total of 100 dollars minus 10%, ie 90 dollars.

thanks in advance

Anders

Hi Anders,

Use Dollars *(1 - percentage)

or Dollars - (Dollars * percentage)

Percentage must be converted to decimal value i.e. 10% converts to .10

Hope this helps,

Tim

  • Author

Yeay, that finally did it!

Thanks very much, you made my day!

Anders

  • Author

Well, I've bumped into a slightly more complicated (to me anyhow) dilemma.

Field 1: the number of products, let's say 2

Field 2: the cost of one product, let' say $100

Field 3: ability to set percentage - let's say 10%

In the fourth and last field I want the sum of a product, so in this case it should be $200 minus the 10%, so total sum= $180.

Right now I'm using this calculation for the SumField

Dollars - (Dollars * percentage)

but how do I fit in the number of products in this?!!!

Any suggestions welcome

Anders

Quantity * ListPrice * ( 1 - DiscountRate )

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.