Support » Plugin: Calculate Values with Shortcodes » int= attribute overriding dec= attribute

  • Great little plugin! It provides perfect currency format even within Toolset Type Views.

    But, as per customer demand, I must not show decimals in a Model home pricing.

    I tried:
    [calculate int=”en_CA” dec=”0″]]350000.01[/calculate] results in : 350,000.00
    [calculate int=”fr_CA” dec=”1″]350000.019[/calculate] results in : 350 000,00
    [calculate int=”fr_CA” dec=’3′]0+350000.019[/calculate] results in : 350 000,02

    The int attribute overrides the dec attribute. I cannot use it to comply with the customer request… 🙁

    How about a third attribute forceDecimal= to override the override?

    Thanks for reading this.

    RB

Viewing 1 replies (of 1 total)
  • Plugin Author bhagwad

    (@bhagwad)

    Hi! Sorry for the delay. I’m not getting notifications of support threads to my e-mail. I’ll look into this!

Viewing 1 replies (of 1 total)
  • The topic ‘int= attribute overriding dec= attribute’ is closed to new replies.