web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / how to format numbers ...
Power Pages
Answered

how to format numbers from a list in liquid?

(0) ShareShare
ReportReport
Posted on by

Hi,

I'm creating a custom web displaying a list of values.

I want to format the currency columns, how to do it in liquid?

for now the default rendering is 4 numbers for the decimals, I want 2 numbers only and the $ sign added.

I'm not able to find a liquid filter for that.

I can format datetimes types, but not the numbers.

 

thanks.

 

Categories:
  • Verified answer
    hershal1999 Profile Picture
    111 on at

    @Jerome2 have you tried "round" filter

     

    Example:

    {{ 4.6 | round }}

    {{ 4.3 | round }}

    {{ 4.5612 | round: 2 }}

     

    https://docs.microsoft.com/en-us/powerapps/maker/portals/liquid/liquid-filters#string-filters

  • Jerome P1 Profile Picture
    on at

    oupsi

    I tried: roundED:2

    lol

    (stupido stupido stupido)

     

    its the result when we are working too late in the night.

    thanks.

     

    sad, no currency formatting option, but its less a problem now.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Pages

#1
Mohsin Ali Profile Picture

Mohsin Ali 35

#2
M Bilal Khan Profile Picture

M Bilal Khan 33

#3
11manish Profile Picture

11manish 21 Super User 2026 Season 2

Last 30 days Overall leaderboard