Search code examples
google-app-maker

Format Number in AppMaker Number Field


I have a problem on my app developed in Google AppMaker

I have big numbers like 109863453 showing in a table.

I want to format this to show as 1.098.634,53 but in appmaker this format is not possible.

Does anyone have a solution for this?

Regards


Solution

  • As far as I know 1.098.634,53 is a number representation for German locale (possible in many others as well). If you choose it in App Settings you can use it in a binding like this:

    @properties.<yourBigNumber>#formatNumber('#,###.00')
    

    Note that there will be an effect on other widgets as well, say your google map widget will be in German locale too.