Add Dollar $ Symbol

Add Dollar $ Symbol

mnwuzormnwuzor Posts: 4Questions: 2Answers: 0

Please how can I add a Dollar ($) symbol before the amount row below to give me $120,000 instead of 120,000

$sub_array = array();
$sub_array[] = $row["taxpayer"];
$sub_array[] = $row["taxidno"];
$sub_array[] = $row["amount"];

Thank you

Answers

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395
    edited October 2018

    I assume you mean add a dollar symbol for display purposes, in which case use columns.render.

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @mnwuzor ,

    We're happy to take a look. As per the forum rules, if you could link to a running test case showing the issue we can offer some help. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.