Title: Calculation Problem
Last modified: March 31, 2019

---

# Calculation Problem

 *  Resolved [aarif007](https://wordpress.org/support/users/aarif007/)
 * (@aarif007)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/calculation-problem/)
 * Dear TobiasBg,
 * Thx for your great plugin. After using a formula in a table I got a value such
   2.55555555555555. But I just want to show two digits after the dot (.). Is there
   any solution for that?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/calculation-problem/#post-11377667)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Yes, you will need to add an extra `ROUND()` or `NUMBER_FORMAT()` call around
   your formula. Please see [https://tablepress.org/tablepress-features-formulas/](https://tablepress.org/tablepress-features-formulas/)
   for details.
 * Regards,
    Tobias
 *  Thread Starter [aarif007](https://wordpress.org/support/users/aarif007/)
 * (@aarif007)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/calculation-problem/#post-11381743)
 * How to use this in a calculation like this one, =Ratio: {100/[table-cell id=612
   cell=K1 /]*[table-cell id=612 cell=H1 /]}%
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/calculation-problem/#post-11384673)
 * Hi,
 * like this maybe:
 *     ```
       =Ratio: {ROUND( 100/[table-cell id=612 cell=K1 /]*[table-cell id=612 cell=H1 /], 2 )}%
       ```
   
 * Regards,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Calculation Problem’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/calculation-problem/#post-11384673)
 * Status: resolved