• jacquesfresco

    (@jacquesfresco)


    Great plugin.

    How can I show % change of a stock to only 1 decimal place instead of the current 3?
    ie. to change 7.983% to 7.9%

    If it’s easier I’d even be happy with just whole numbers and no decimals for % change.

    Website is:
    https://smallcaps.com.au

    Thanks in advance.

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

    (@relevad)

    Hi,
    There is currently no implemented way to do this within the custom stock widget UI.

    I will add it to our development queue (which is backlogged at the moment).

    For now the easiest solution is to just modify this line:
    line 297 of stock_widget_display.php
    set the round() function to the desired number of decimal places.

    I hope that helps
    — Relevad

Viewing 1 replies (of 1 total)
  • The topic ‘How to show % change to only 1 decimal place?’ is closed to new replies.