# Displaying $ and decimal places

**URL:** <https://community.weweb.io/t/displaying-and-decimal-places/5048>\
**Category:** Ask us anything\
**Created:** [October 25, 2023, 9:14am UTC](https://community.weweb.io/t/displaying-and-decimal-places/5048 "2023-10-25T09:14:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcosvbi](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@marcosvbi](https://community.weweb.io/u/marcosvbi)\
**Post date:** [October 25, 2023, 9:14am UTC](https://community.weweb.io/t/displaying-and-decimal-places/5048/1 "2023-10-25T09:14:37Z")

</div>

HI guys

How would one go about displaying the $ sign in front of fields and how would one go about forcing it to display 2 decimal places after.

Eg. currently my values are displaying 1000.  
I would like it to display $ 1,000.00

Any hints or suggestions please?

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [October 25, 2023, 1:10pm UTC](https://community.weweb.io/t/displaying-and-decimal-places/5048/2 "2023-10-25T13:10:07Z")

</div>

Use copilot, it’s so simple that way

---

<div class="post-metadata">

**Author:** ![Dorian](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorian/32/13183_2.png) [@Dorian](https://community.weweb.io/u/Dorian)\
**Post date:** [October 25, 2023, 6:42pm UTC](https://community.weweb.io/t/displaying-and-decimal-places/5048/3 "2023-10-25T18:42:41Z")

</div>

Agree with @Broberto. I used copilot to create some simple JavaScript that formats the display.
