
##############
formatWithUnit
##############

.. js:function:: formatWithUnit

   .. rst-class:: sig-pretty-signature
   
      | formatWithUnit(**value**\ : *number*\ , **unit**\ : *number*\ ): *string*
   
   Returns the formatted string of a value and its units. Unit scaling is based on ``unit === 1`` being for millimeters.
   
   **Parameters**
   
      **value**\ : *number*
   
         The value to format (without units).
   
   
      **unit**\ : *number*
   
         The unit scale to be applied to ``value``\ .
   
   
   
   **Returns**\ : *string*
   




