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 rounding to language specification #37

Open
alex-senger opened this issue May 28, 2024 · 0 comments · May be fixed by #47
Open

Add rounding to language specification #37

alex-senger opened this issue May 28, 2024 · 0 comments · May be fixed by #47
Assignees

Comments

@alex-senger
Copy link
Contributor

There should be a syntax for methods which defines how the result of the method should be rounded:

function f(): Int {
    from 2001-01-01: round {}
}

The following keywords should be accepted: floor ceil and round.

@robmeth robmeth self-assigned this Jun 1, 2024
@robmeth robmeth linked a pull request Jun 3, 2024 that will close this issue
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 a pull request may close this issue.

2 participants