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

Add int2str builtin function #634

Merged
merged 1 commit into from
Sep 28, 2022
Merged

Add int2str builtin function #634

merged 1 commit into from
Sep 28, 2022

Conversation

UrbanskiDawid
Copy link
Collaborator

Adding int2str

C.1.7 Integer to charstring
int2str(in integer invalue) return charstring
This function converts the integer value into its string equivalent (the base of the return string is always decimal).

The general error causes in clause 16.1.2 apply.
EXAMPLE:
int2str(66) // will return the charstring value "66"
int2str(-66) // will return the charstring value "-66"
int2str(0) // will return the charstring value "0"

Copy link
Member

@5nord 5nord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thank you!

@5nord 5nord merged commit 3b61469 into nokia:master Sep 28, 2022
@UrbanskiDawid UrbanskiDawid deleted the int2str branch September 28, 2022 18:53
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.

None yet

2 participants