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.

Featured Replies

This must be simple...

I am doing a very basic calculation within an invoice table.

The figures Net Total: Calculates all the total prices. I show this as 2 decimal places. The tax is calclated.... also shown as 2 decimal places...

but when I add

The net total + tax .... the sum is rounded up from the actual figures up to 4 decimal places which results in what looks like an incorrect calculation....

in terms of 2 decimal places.

for example:

I want to show:

255.22 + 44.66 = 299.88

instead I am getting 255.22 + 44.66 = [color:red]299.89

obviously because the calculation is adding three or four decimals and rounding the figure up??

Is there any way of adding just the two decimals as per the format.

Try this

Gross_Amount = Round(Nett_Amount;2) + Round(VAT_Amount;2)

or possibly...

Nett_Round = Round(Nett;2)

VAT_Round = Round(VAT;2)

Gross = Nett_Round + VAT_Round

  • Author

Perfect... thanks very much.. both work fine

Ben

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.