-
Proposal:
Show
Add a new (optional) Boolean attribute to decimal, "VariableScale", with a default of false. If false or missing, the client MUST assume that the property can only support fixed precision.
Accepted: https://www.oasis-open.org/committees/download.php/48346/odata-meeting-26_on-20130221-minutes.html#odata-76
-
Resolution:
Show
https://www.oasis-open.org/committees/download.php/48378/odata-core-v4.0-wd01-part3-csdl-2013-02-26-RH.doc
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/schemas/edmx.xsd?rev=201
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/schemas/edm.xsd?rev=201
Accepted: https://www.oasis-open.org/committees/download.php/48549/odata-meeting-29_on-20130314-minutes.html#odata-76
The definition of the Scale facet as the maximum number of digits right of the decimal point implies that there may be less digits to the right and consequently more digits to the left of the decimal point (up to the value of the Precision facet), so the decimal point is allowed to float within the given Precision.
{"report":{"apdex":0.5,"isInitial":true,"journeyId":"19079daf-d94f-4f92-bd9e-1d8e55a4f037","key":"jira.project.issue.view-issue","navigationType":0,"readyForUser":1273.5,"redirectCount":0,"resourceLoadedEnd":1757.3000001907349,"resourceLoadedStart":220.5,"resourceTiming":[{"duration":680.3000001907349,"initiatorType":"link","name":"https://issues.oasis-open.org/s/3edeca31ab9ba77980aae0809fbe7121-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/0a4716d29b2d5b1bdcdb168b4efc119e/_/download/contextbatch/css/_super/batch.css","startTime":220.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":220.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":900.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":680.3000001907349,"initiatorType":"link","name":"https://issues.oasis-open.org/s/7d2823769c2e7b66e860863fe879b7f8-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/9aebb1c0aaa4c36289529757ec9dbb54/_/download/contextbatch/css/project.issue.navigator,jira.view.issue,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&richediton=true","startTime":220.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":220.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":901.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":680.3000001907349,"initiatorType":"link","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/8.0.5/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.css","startTime":221,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":221,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":901.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":680,"initiatorType":"link","name":"https://issues.oasis-open.org/s/645acc233eb869f48a571293b8358a7d-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:global-static-adgs/jira.webresources:global-static-adgs.css","startTime":221.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":221.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":901.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":680,"initiatorType":"link","name":"https://issues.oasis-open.org/s/a0dd6509771c1de0667aae5429c04cda-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:global-static/jira.webresources:global-static.css","startTime":221.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":221.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":901.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":701.1000003814697,"initiatorType":"script","name":"https://issues.oasis-open.org/s/e5479157e7a0c08b005e6522f2f04104-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/0a4716d29b2d5b1bdcdb168b4efc119e/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":221.5,"connectEnd":221.5,"connectStart":221.5,"domainLookupEnd":221.5,"domainLookupStart":221.5,"fetchStart":221.5,"redirectEnd":0,"redirectStart":0,"requestStart":221.5,"responseEnd":922.6000003814697,"responseStart":922.6000003814697,"secureConnectionStart":221.5},{"duration":718.5999999046326,"initiatorType":"script","name":"https://issues.oasis-open.org/s/83514d5d4e8543747b02042eafcdc99c-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/9aebb1c0aaa4c36289529757ec9dbb54/_/download/contextbatch/js/project.issue.navigator,jira.view.issue,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":221.80000019073486,"connectEnd":221.80000019073486,"connectStart":221.80000019073486,"domainLookupEnd":221.80000019073486,"domainLookupStart":221.80000019073486,"fetchStart":221.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":221.80000019073486,"responseEnd":940.4000000953674,"responseStart":940.4000000953674,"secureConnectionStart":221.80000019073486},{"duration":720.7000002861023,"initiatorType":"script","name":"https://issues.oasis-open.org/s/70bb2263e59e7e1f04fbd137c80b895b-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/aae1242f5fc81cc6a5bb8bc963ccda29/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en-US","startTime":221.90000009536743,"connectEnd":221.90000009536743,"connectStart":221.90000009536743,"domainLookupEnd":221.90000009536743,"domainLookupStart":221.90000009536743,"fetchStart":221.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":221.90000009536743,"responseEnd":942.6000003814697,"responseStart":942.6000003814697,"secureConnectionStart":221.90000009536743},{"duration":721.1999998092651,"initiatorType":"script","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":222.10000038146973,"connectEnd":222.10000038146973,"connectStart":222.10000038146973,"domainLookupEnd":222.10000038146973,"domainLookupStart":222.10000038146973,"fetchStart":222.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":222.10000038146973,"responseEnd":943.3000001907349,"responseStart":943.3000001907349,"secureConnectionStart":222.10000038146973},{"duration":721.5,"initiatorType":"script","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":222.2000002861023,"connectEnd":222.2000002861023,"connectStart":222.2000002861023,"domainLookupEnd":222.2000002861023,"domainLookupStart":222.2000002861023,"fetchStart":222.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":222.2000002861023,"responseEnd":943.7000002861023,"responseStart":943.7000002861023,"secureConnectionStart":222.2000002861023},{"duration":721.8000001907349,"initiatorType":"script","name":"https://issues.oasis-open.org/s/cda37faab827dbdf305de8efe8282062-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/8.0.5/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.js?locale=en-US","startTime":222.5,"connectEnd":222.5,"connectStart":222.5,"domainLookupEnd":222.5,"domainLookupStart":222.5,"fetchStart":222.5,"redirectEnd":0,"redirectStart":0,"requestStart":222.5,"responseEnd":944.3000001907349,"responseStart":944.3000001907349,"secureConnectionStart":222.5},{"duration":725.4000000953674,"initiatorType":"link","name":"https://issues.oasis-open.org/s/07245784f53abc49bad9d9d4d36c577a-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/cadc4f20cc5c138dee060d42cf85f220/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":222.7000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":222.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":948.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":722,"initiatorType":"script","name":"https://issues.oasis-open.org/rest/api/1.0/shortcuts/803004/a29179d70fa8562374ee16707692af77/shortcuts.js?context=issuenavigation&context=issueaction","startTime":222.90000009536743,"connectEnd":222.90000009536743,"connectStart":222.90000009536743,"domainLookupEnd":222.90000009536743,"domainLookupStart":222.90000009536743,"fetchStart":222.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":222.90000009536743,"responseEnd":944.9000000953674,"responseStart":944.9000000953674,"secureConnectionStart":222.90000009536743},{"duration":811.0999999046326,"initiatorType":"link","name":"https://issues.oasis-open.org/s/f77fd89aa211a76b20e9b0e63564383c-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/4a9288299d147101bf66484f4be48925/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.css?jira.create.linked.issue=true&richediton=true","startTime":259.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":259.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1071,"responseStart":0,"secureConnectionStart":0},{"duration":738.5,"initiatorType":"script","name":"https://issues.oasis-open.org/s/41525c48ddceeb9b11e54085268fc285-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/4a9288299d147101bf66484f4be48925/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.js?jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":260.1000003814697,"connectEnd":260.1000003814697,"connectStart":260.1000003814697,"domainLookupEnd":260.1000003814697,"domainLookupStart":260.1000003814697,"fetchStart":260.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":260.1000003814697,"responseEnd":998.6000003814697,"responseStart":998.6000003814697,"secureConnectionStart":260.1000003814697}],"threshold":1000,"fetchStart":0,"domainLookupStart":115,"domainLookupEnd":115,"connectStart":115,"connectEnd":164,"secureConnectionStart":139,"requestStart":164,"responseStart":215,"responseEnd":291,"domLoading":219,"domInteractive":1804,"domContentLoadedEventStart":1804,"domContentLoadedEventEnd":1849,"domComplete":2265,"loadEventStart":2265,"loadEventEnd":2269,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[],"measures":[],"correlationId":"7cbb0fb72474a2","effectiveType":"4g","downlink":9.1,"rtt":0,"serverDuration":98,"dbReadsTimeInMs":22,"dbConnsTimeInMs":24,"applicationHash":"4d4040e0714d65b7fffa4801569d014c0b16eaa9","experiments":[]}}
Unfortunately, not all implementations of Decimal will be floating precision. The best we can do is to say that the data type MAY be floating precision, but that clients SHOULD NOT assume that to be the case. We can add an annotation for specifying whether or not a particular usage of decimal is fixed or floating precision.