Documentation · ViewHelper reference

XSD schema file | vhs 2.1.4

Math / CubicRootViewHelper

Math: CubicRoot

Performs pow($a, 1/3) - cubic or third root

  • Tag usage example

    <v:math.cubicRoot a="[mixed]" fail="1">
    	<!-- tag content - may be ignored! -->
  • Inline usage example

    {v:math.cubicRoot(a: [mixed], fail: 1)}


Argument Description Type

First number for calculation


If TRUE, throws an Exception if argument "a" is not specified and no child content or inline argument is found. Usually okay to use a NULL value (as integer zero).

Required attribute

Revision history

commit ba44ae0f125ac488ee1f606ad3968dd610f4b373
Author: Claus Due <*****>
Date:   Sun Nov 25 00:08:50 2012 +0100

    [FEATURE] Math / Cube and CubicRoot ViewHelpers

commit da31bad1d9bb058c072ddb5591e8ed907a1ae8e1
Author: Claus Due <*****>
Date:   Tue Dec 31 23:08:37 2013 +0100

    [TASK] Happy new year!

commit da7677bc74f14e9a9300e4ba4487e52c3cb97642
Author: Claus Due <*****>
Date:   Sun Apr 20 01:13:33 2014 +0200

    [TASK] Switch to namespaces

commit 8bb2fc5ee124ba19b0a0ab8e061c9a153fc4651f
Author: Xaver Maierhofer <*****>
Date:   Sun Jan 18 17:56:13 2015 +0100

    [TASK] Reference Copyright to file