My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 3: redondeo incorrecto
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by javirod...@gmail.com, Jun 11, 2012
La función 

 $ds_merchant_amount = number_format(round($order->order_total),2,'.',''); // Modificacion del formato similar a 10.00

es incorrecta porque redondea al euro. Si necesitas incluir decimales es necesario modificarla por 

$ds_merchant_amount = number_format(round($order->order_total,2),2,'.',''); // Modificacion del formato similar a 10.00

Powered by Google Project Hosting