/**
  * Constructs a transformer.
  *
  * @param bool $grouping     Whether thousands should be grouped
  * @param int  $roundingMode One of the ROUND_ constants in this class
  */
 public function __construct(bool $grouping = null, int $roundingMode = null)
 {
     if (null === $roundingMode) {
         $roundingMode = self::ROUND_DOWN;
     }
     parent::__construct(0, $grouping, $roundingMode);
 }
 /**
  * {@inheritDoc}
  */
 public function reverseTransform($value)
 {
     return (int)parent::reverseTransform($value);
 }
 /**
  * {@inheritdoc}
  */
 public function reverseTransform($value)
 {
     $result = parent::reverseTransform($value);
     return null !== $result ? (int) $result : null;
 }
 /**
  * {@inheritDoc}
  */
 public function reverseTransform($value)
 {
     $value = parent::reverseTransform($value);
     return null === $value ? null : (int) $value;
 }