• Resolved alexifox

    (@alexifox)


    Hi,

    I’m using the mycred_my_balance_converted shortcode to convert points into currency at a rate of 0.75.

    I need the output on the front end to be to 2 decimal places. As an example, currently it’s showing £14.5 when it needs to show £14.50.

    I know you can show your points to various decimal places but my points need to be whole numbers. It’s just when I use the conversion to pounds at a rate of 0.75 that I need the result to be to 2 decimal places.

    I was told a while ago that you were going to be introducing an attribute in the shortcode where you can set your decimal places but I am unable to find any documentation about it.

    Could you please let me know how this can be done.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Need mycred_my_balance_converted output to be at 2 decimal places’ is closed to new replies.