diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php
index a285e256860063f3eb41d4808246e0e1bb9e92e4..b80d0d740aed357b908c3a1ae7315a671ed82115 100644
--- a/htdocs/core/lib/functions.lib.php
+++ b/htdocs/core/lib/functions.lib.php
@@ -3410,10 +3410,13 @@ function price2num($amount,$rounding='',$alreadysqlnb=0)
 
 
 /**
- * Output a dimension with best unit 
- * @param float     $dimension      Dimension
- * @param int       $unit           Unit of dimension (0, -3, ...)
- * @param string    $type           'weight', 'volume', ...
+ * Output a dimension with best unit
+ *  
+ * @param   float       $dimension      Dimension
+ * @param   int         $unit           Unit of dimension (0, -3, ...)
+ * @param   string      $type           'weight', 'volume', ...
+ * @param   Translate   $outputlangs    Translate language object
+ * @return  string                      String to show dimensions
  */
 function showDimensionInBestUnit($dimension, $unit, $type, $outputlangs)
 {