Title: Wrong calculations
Last modified: October 11, 2019

---

# Wrong calculations

 *  Resolved [Drazen](https://wordpress.org/support/users/dadodd/)
 * (@dadodd)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/wrong-calculations/)
 * I am still having problems with calculations, I have added to cart total weight
   of 2.6 kg, but plugin is not calculating it. I am on latest version of plugin
   and WP.
 * Debug
 *     ```
       Peso total: 1
       Volumen: 0
       Largo: 0
       Ancho: 0
       Alto: 0
       Medidas: Array
       (
           [0] => Array
               (
                   [largo] => 
                   [ancho] => 
                   [alto] => 
                   [cantidad] => 1
               )
   
           [1] => Array
               (
                   [largo] => 
                   [ancho] => 
                   [alto] => 
                   [cantidad] => 1
               )
   
           [2] => Array
               (
                   [largo] => 
                   [ancho] => 
                   [alto] => 
                   [cantidad] => 1
               )
   
       )
   
       Clases: Array
       (
           [todas] => 1
           [sin-clase] => 1
       )
       Tarifas: Array
       (
           [sin-clase] => Array
               (
                   [0] => Array
                       (
                           [peso] => 2
                           [importe] => 28.73
                       )
   
                   [1] => Array
                       (
                           [peso] => 3
                           [importe] => 34.93
                       )
   
                   [2] => Array
                       (
                           [peso] => 5
                           [importe] => 36.35
                       )
   
                   [3] => Array
                       (
                           [peso] => 10
                           [importe] => 39.65
                       )
   
                   [4] => Array
                       (
                           [peso] => 15
                           [importe] => 44.36
                       )
   
                   [5] => Array
                       (
                           [peso] => 20
                           [importe] => 49.06
                       )
   
                   [6] => Array
                       (
                           [peso] => 25
                           [importe] => 53.78
                       )
   
                   [7] => Array
                       (
                           [peso] => 30
                           [importe] => 58.50
                       )
   
                   [8] => Array
                       (
                           [peso] => 40
                           [importe] => 70.28
                       )
   
               )
   
       )
       ```
   

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

 *  Thread Starter [Drazen](https://wordpress.org/support/users/dadodd/)
 * (@dadodd)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/wrong-calculations/#post-12019392)
 * Working, sorry for troubles.
 * Just saw client changed weight value from decimal to comma -.-
 * Thanks
 *  Plugin Author [Art Project Group](https://wordpress.org/support/users/artprojectgroup/)
 * (@artprojectgroup)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/wrong-calculations/#post-12019404)
 * Don’t worry.
 * Kind regards.

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

The topic ‘Wrong calculations’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-apg-weight-and-postcodestatecountry-shipping/
   assets/icon-256x256.png?rev=2865713)
 * [WC - APG Weight Shipping](https://wordpress.org/plugins/woocommerce-apg-weight-and-postcodestatecountry-shipping/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-apg-weight-and-postcodestatecountry-shipping/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-apg-weight-and-postcodestatecountry-shipping/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-apg-weight-and-postcodestatecountry-shipping/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-apg-weight-and-postcodestatecountry-shipping/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-apg-weight-and-postcodestatecountry-shipping/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Art Project Group](https://wordpress.org/support/users/artprojectgroup/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/wrong-calculations/#post-12019404)
 * Status: resolved