# Age on events, why is it rounded up?

**URL:** https://gramps.discourse.group/t/age-on-events-why-is-it-rounded-up/2819
**Category:** Ideas
**Created:** [October 1, 2022, 11:16pm UTC](https://gramps.discourse.group/t/age-on-events-why-is-it-rounded-up/2819 "2022-10-01T23:16:02Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Mihle](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/mihle/32/612_2.png) [@Mihle](https://gramps.discourse.group/u/Mihle)
#### Post date: [October 1, 2022, 11:16pm UTC](https://gramps.discourse.group/t/age-on-events-why-is-it-rounded-up/2819/1 "2022-10-01T23:16:02Z")

</div>

If an event is when a person is 31 years and 7 months, why is the age coloumn rounding it up to 32 instead of listing 31?  
Wouldnt it be more logical on how we use age more in the real world? Most people wouldnt call themselves 32 years when they are 31 and 7 months.

---

<div class="post-metadata">

### Author: ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)
#### Post date: [October 2, 2022, 1:24am UTC](https://gramps.discourse.group/t/age-on-events-why-is-it-rounded-up/2819/2 "2022-10-02T01:24:52Z")

</div>

See this [Bug report 12422](https://gramps-project.org/bugs/view.php?id=12422)

and a Pull request I submitted

> <https://github.com/gramps-project/gramps/pull/1301>
>
> Removes the +1 when the Age precision is set to 1 (Years) and the month is \>= 6
> …
> 
> Bug \[#12422\](https://gramps-project.org/bugs/view.php?id=12422)

---

<div class="post-metadata">

### Author: ![Mihle](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/mihle/32/612_2.png) [@Mihle](https://gramps.discourse.group/u/Mihle)
#### Post date: [October 2, 2022, 8:30am UTC](https://gramps.discourse.group/t/age-on-events-why-is-it-rounded-up/2819/3 "2022-10-02T08:30:00Z")

</div>

Ah, ok. Didnt know that was there.  
Rounding up can be nice when its about something else, but is in my opinion bad idea at peoples ages.

---

<div class="post-metadata">

### Author: ![ursus-kirk](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/ursus-kirk/32/2222_2.png) [@ursus-kirk](https://gramps.discourse.group/u/ursus-kirk)
#### Post date: [October 22, 2022, 1:34pm UTC](https://gramps.discourse.group/t/age-on-events-why-is-it-rounded-up/2819/4 "2022-10-22T13:34:16Z")

</div>

The following seems to be in error  
A person was born 3/3/1898 (that’s march 3rd)  
And married 25/11/1916 (that’s november 25th)  
Gramps calculates persons age at marriage as 19 years  
while in truth it was 18 yrs 8 months 22 days. Which I would display as 18 yrs old  
Windows 10, Gramps AIO64-5.1.5-1 (Dutch)  
 ![Image 004](https://global.discourse-cdn.com/free1/uploads/gramps/original/2X/a/ab1ffcb4b8d40c952a5502347b5facd3c06985f7.png)

---

<div class="post-metadata">

### Author: ![Nick-Hall](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/nick-hall/32/95_2.png) [@Nick-Hall](https://gramps.discourse.group/u/Nick-Hall)
#### Post date: [October 22, 2022, 1:46pm UTC](https://gramps.discourse.group/t/age-on-events-why-is-it-rounded-up/2819/5 "2022-10-22T13:46:44Z")

</div>

This has been discussed in pull request [#1301](https://github.com/gramps-project/gramps/pull/1301) and bug report [#12422](https://gramps-project.org/bugs/view.php?id=12422).

Rounding up an age does seem rather odd to me. The argument given was that rounding is useful for incomplete dates.

Perhaps we need an option as suggested in the bug report.

---

<div class="post-metadata">

### Author: ![PLegoux](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/plegoux/32/413_2.png) [@PLegoux](https://gramps.discourse.group/u/PLegoux)
#### Post date: [October 22, 2022, 2:16pm UTC](https://gramps.discourse.group/t/age-on-events-why-is-it-rounded-up/2819/6 "2022-10-22T14:16:36Z")

</div>

If you don’t use rounded ages you’ll get the good value:  
 ![image](https://global.discourse-cdn.com/free1/uploads/gramps/original/2X/4/4399244308e74760a3fceb1083a230ce5faebf0c.png)

You can set this in your Preferences:

 ![image](https://global.discourse-cdn.com/free1/uploads/gramps/original/2X/1/12cba0b0be73f2fd2283761dd9a8cac6e5b8952f.png)

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/2ac1e712b7adf612e31ca08a55419f4cf37c0158.png) [@system](https://gramps.discourse.group/u/system)
#### Post date: [November 21, 2022, 1:35pm UTC](https://gramps.discourse.group/t/age-on-events-why-is-it-rounded-up/2819/7 "2022-11-21T13:35:02Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
