function getDecimal(): \Closure {
    return function($value, \Mustache_LambdaHelper $helper) {
      $args = $this->parseArguments($helper->render($value), 'value', [
        'decimals' => null,
        'options' => [],
        'textOptions' => []
      ]);

      return HtmlHelper::encode(\Yii::$app->formatter->asDecimal(
        $args['value'],
        $args['decimals'],
        $args['options'],
        $args['textOptions']
      ));
    };
  }