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

Generalize get_max_value method for packed numbers #893

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

Markus1812
Copy link
Contributor

With this change, the calculation for the max value of a packed number is generalized according to the ABAP-Documentation.

As described in the documentation, a packed number with length 9 and decimals 5 consists of 9*2-1 = 17 digits in total. 5 digits are decimals and the other 17-5 = 12 are digits before the decimal point.

@larshp
Copy link
Member

larshp commented Aug 1, 2024

thanks

@larshp larshp merged commit 49fcc05 into open-abap:main Aug 1, 2024
6 checks passed
@Markus1812 Markus1812 deleted the feat/get_max_value branch August 1, 2024 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants