# Can I use [gv_math] with [gvlogic]?

The answer to the question "Can I use [gv_math] with [gvlogic]?" is: it depends on what you mean.

### If you want to place [gv_math] shortcodes inside [gvlogic] shortcodes, you can.

This code:

[gvlogic if="1" is="100"] <br> One plus two equals: [gv_math] 1 + 2 [/gv_math] <br> [else] One hundred and twenty times two equals: [gv_math] 120 * 2 [/gv_math] [/gvlogic]

Will output as:

One plus two equals: 3

### If you meant "Can I use [gv_math] output as parameters for my [gvlogic] shortcode?", the answer is no.

This won't work:

[gvlogic if="3" is="[gv_math] 1 + 2 [/gv_math]"] His logic is sound. [/gvlogic]

The reason is a recent change to WordPress itself. Because of a security issue, WordPress made a change so that you are not able to use another shortcode to call a shortcode. Because of this, the `[gvlogic]`

shortcode no longer supports passing the output of the `[gv_math]`

shortcode inside it.