Skip to content

Examples for Scale="floating" #2110

@HeikoTheissen

Description

@HeikoTheissen

OData-CSDL, section 3.4.3 states that

The value floating means that the decimal value represents a decimal floating-point number whose number of significant digits is the value of the Precision facet.

It then contains an example for Precision=7 and a floating Scale.

Allowed values: -1.234567e3, 1e-101, 9.999999e96, not allowed values: 1e-102 and 1e97 due to the limited precision.

Why is 1e-101 allowed but 1e-102 not? Neither has 7 digits specified. Or have I misunderstood this and it is not about the number of specified digits at all?

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions