cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Super User III
Super User III

What's the maximum value you can store in a number field?

What's the maximum value that you can store in a CDS number field?

 

The documentation says that you can store a total of 32 digits, with a maximum of six digits to the right of the decimal point.

 

https://docs.microsoft.com/en-us/common-data-service/entity-reference/field-data-types

 

But in my testing, I find that I can only store a maximum of 17 digits.

 

Can someone explain why this is? Is this an error with the documentation, or is there a bug in PowerApps that prevents you from saving more than 17 digits?

 

Thanks 

1 ACCEPTED SOLUTION

Accepted Solutions
Power Apps
Power Apps

I can't speak to CDS, but PowerApps numeric limits are defined by Javascript:

 

http://stackoverflow.com/questions/307179/what-is-javascripts-highest-integer-value-that-a-number-ca...

 

View solution in original post

4 REPLIES 4
Power Apps
Power Apps

I can't speak to CDS, but PowerApps numeric limits are defined by Javascript:

 

http://stackoverflow.com/questions/307179/what-is-javascripts-highest-integer-value-that-a-number-ca...

 

View solution in original post

Thanks Andy,

 

So the conclusion from this is that the maximum numeric value that PowerApps supports is 9,007,199,254,740,990, even if the underlying data store could support a larger value.

 

Just out of curiosity, do all versions of PowerApps have a dependency on JavaScript? I naturally assume that the web version of PowerApps studio uses JavaScript, but do the Android and IOS versions also rely on JavaScript, and therefore also be subject to the same numerical limits?

Yes, to both questions: the numeric limits are as stated, and JavaScript is the underlying technology for all PowerApps.

Thanks @AndyPennell

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (11,421)