Title: Notice for price decimal (include solution code)
Last modified: April 15, 2021

---

# Notice for price decimal (include solution code)

 *  Resolved [WebMat](https://wordpress.org/support/users/webmatpro/)
 * (@webmatpro)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/notice-for-price-decimal-include-solution-code/)
 * Hello,
 * for remove the “Notice: A non well formed numeric value encountered”
 * file sliced-invoices/includes/class-sliced-shared.php
 * line 523 -$payments_total = $payments_total + $amount;
    line 589 – $line_sub_total
   = $qty * $amt; // 100
 * replace by :
 * line 523 -$payments_total = $payments_total + (float)$amount;
    line 589 – $line_sub_total
   = $qty * (float)$amt; // 100
 * Best Regards,
    Mat.

Viewing 1 replies (of 1 total)

 *  Plugin Support [MeganSupport](https://wordpress.org/support/users/megan891/)
 * (@megan891)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/notice-for-price-decimal-include-solution-code/#post-14321668)
 * Hi [@webmatpro](https://wordpress.org/support/users/webmatpro/),
 * Sorry you’re have trouble. Please note that for queries like this a support ticket
   needs to be logged via our website here [https://slicedinvoices.com/support-ticket/](https://slicedinvoices.com/support-ticket/)
 * Thanks in advance,
 * Sliced Invoices Support

Viewing 1 replies (of 1 total)

The topic ‘Notice for price decimal (include solution code)’ is closed to new replies.

 * ![](https://ps.w.org/sliced-invoices/assets/icon.svg?rev=1314180)
 * [Sliced Invoices - WordPress Invoice Plugin](https://wordpress.org/plugins/sliced-invoices/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sliced-invoices/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sliced-invoices/)
 * [Active Topics](https://wordpress.org/support/plugin/sliced-invoices/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sliced-invoices/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sliced-invoices/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [MeganSupport](https://wordpress.org/support/users/megan891/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/notice-for-price-decimal-include-solution-code/#post-14321668)
 * Status: resolved