/** @noinspection PhpMissingParentConstructorInspection
  * @param int $sort
  * @param Decimal $type
  * @param string $table
  */
 public function __construct($sort, Decimal $type, $table)
 {
     if ($type->isMulti()) {
         throw new StructException('RowColumns can not be multi value types!');
     }
     Column::__construct($sort, $type, 0, true, $table);
 }
 /**
  * @dataProvider valueProvider
  */
 public function test_renderValue($value, $expect, $roundto, $decpoint, $thousands, $trimzeros, $prefix = '', $postfix = '')
 {
     $decimal = new Decimal(array('roundto' => $roundto, 'decpoint' => $decpoint, 'thousands' => $thousands, 'trimzeros' => $trimzeros, 'prefix' => $prefix, 'postfix' => $postfix));
     $R = new \Doku_Renderer_xhtml();
     $R->doc = '';
     $decimal->renderValue($value, $R, 'xhtml');
     $this->assertEquals($expect, $R->doc);
 }