Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistency in ROUND and TRUNC #407

Open
vpinna80 opened this issue Apr 18, 2024 · 1 comment
Open

Inconsistency in ROUND and TRUNC #407

vpinna80 opened this issue Apr 18, 2024 · 1 comment
Assignees
Labels

Comments

@vpinna80
Copy link
Collaborator

vpinna80 commented Apr 18, 2024

The "behavior" section of round and trunc operators is inconsistent with the semantics.

They should be corrected as follows:

If numDigit is omitted or is set to 0, the operator has the behaviour of the “Operators changing the data type". Otherwise, for the invocations at Data Set level, the operator has the behaviour of the “Operators applicable on one Scalar Value or Data Set or Data Set Component”, while for the invocations at Component or Scalar level, the operator has the behaviour of the “Operators applicable on two Scalar Values or Data Sets or Data Set Components”, (see the section “Typical behaviours of the ML Operators”).

@amattioc
Copy link
Contributor

I'll fix the docs. A wider discussion on this type of behaviour is open anyway (#409)

@amattioc amattioc self-assigned this Apr 18, 2024
This was referenced May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants