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

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
PowerApps Staff AndyPennell
PowerApps Staff

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

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...

 

4 REPLIES 4
PowerApps Staff AndyPennell
PowerApps Staff

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

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...

 

Highlighted
Super User
Super User

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

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?

PowerApps Staff AndyPennell
PowerApps Staff

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

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

Super User
Super User

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

Thanks @AndyPennell

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 84 members 4,527 guests
Please welcome our newest community members: