Skip to content

Int often not enough when returning number from Aggregate functions#92

Closed
walker wants to merge 1 commit intoj4mie:masterfrom
walker:master
Closed

Int often not enough when returning number from Aggregate functions#92
walker wants to merge 1 commit intoj4mie:masterfrom
walker:master

Conversation

@walker
Copy link
Copy Markdown

@walker walker commented Jan 10, 2013

So, I don't know that anything besides an int and a float are necessary for some of these functions, but int was definitely too limiting.

My AVG() isn't 21, it's 21.5!

@ghost ghost assigned treffynnon Jan 11, 2013
@treffynnon
Copy link
Copy Markdown
Collaborator

Thank you for the pull request and issue report. I have closed the issue in commit f4b107c with a slightly different implementation, which I feel is a little easier to read.

@treffynnon treffynnon closed this Jan 11, 2013
@walker
Copy link
Copy Markdown
Author

walker commented Jan 11, 2013

Ah, sure thing. I would usually implement to match f4b107c. My pull request looked the way it did as I was trying to match what I saw as idiorm's "style".

Thanks for closing this so quickly.

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