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

Reducing to largest possible unit #9

Open
seandenigris opened this issue Dec 9, 2020 · 1 comment
Open

Reducing to largest possible unit #9

seandenigris opened this issue Dec 9, 2020 · 1 comment

Comments

@seandenigris
Copy link

According to the Chalten paper, reducing should be built-in but doesn't currently seem to work. It seems this used to work... ==10 years * 12 months / 24 months = 5 years== “The model automatically simplifies units”... Anyone know why it was changed?

@gcotelli
Copy link
Member

image

It looks like it's working. Number>>years is now part of the Pharo Kernel and creates a Duration.

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

No branches or pull requests

2 participants