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 Apps / Retrieve formatted val...
Power Apps
Answered

Retrieve formatted value for a currency column using Javascript

(1) ShareShare
ReportReport
Posted on by 65
I can retrieve the numeric value for a currency column as shown below and get the value, such as 9999
 
var totalQuoteAmount = formContext
    .getAttribute("kcw_totalquoteamount")
    .getValue();
 
I want to get the formatted value, such as 'CA$9,999.00'.
 
I understand there is a 'getFormattedValue' feature but I have not been able to determine what the correct syntax is.
 
Can anyone point me in the right direction?
 
Thanks.
 
 
Categories:
I have the same question (0)
  • Verified answer
    MichaelFP Profile Picture
    2,001 Moderator on at
    You can use that
     
    formContext.getAttribute("kcw_totalquoteamount").getValueInternal().formatted

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard