Skip to content

SAK-51372 gradebook add convertStringToDouble to api #13608

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jesusmmp
Copy link
Contributor

@ern ern changed the title SAK-51372 GradingService - Adding convertStringToDouble to api SAK-51372 gradebook add convertStringToDouble to api Apr 14, 2025
@adrianfish
Copy link
Contributor

Why make this public? There are no calls in this PR. If this is something of use in Sakai generally, we should add it to the kernel, imo.

@jesusmmp
Copy link
Contributor Author

Why make this public? There are no calls in this PR. If this is something of use in Sakai generally, we should add it to the kernel, imo.

Our own tools need to call convertStringToDouble, so we need adding this method on the api.

@adrianfish
Copy link
Contributor

adrianfish commented Apr 15, 2025

I think this should be moved into kernel utils. I would have moved it in there during my big refactor, if I would have known it was to be public. There is no code in that method that uses grading api stuff, so it shouldn't be on the grading api. Take a look at NumberUtil in kernel.

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.

3 participants