Support » Plugin: Calculate Values with Shortcodes » My Shortcode has a comma in the number

  • Resolved ukbestrong

    (@ukbestrong)


    Hi,

    My Shortcode has a comma in the number which breaks the calculation I’m trying to make.

    Eg 1900/100*10 works but 1,900/100*10 doesnt.

    I cant change the shortcode value – is there anything that you can suggest?

    Great plugin!

    Rick

Viewing 2 replies - 1 through 2 (of 2 total)
  • ukbestrong

    (@ukbestrong)

    Can anybody help with this?

    Plugin Author bhagwad

    (@bhagwad)

    Hi! Unfortunately, it’d be too inconsistent to make it work with commas etc. Best I can suggest, is to create a “wrapper” shortcode that strips the commas etc out.

    But that would require a little bit of familiarity with PHP and WordPress. But finding someone who does, shouldn’t be too hard!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘My Shortcode has a comma in the number’ is closed to new replies.