# Expression Binding Functions - Dates are now Floating Point Numbers in Vision

**URL:** <https://forum.inductiveautomation.com/t/expression-binding-functions-dates-are-now-floating-point-numbers-in-vision/23615>\
**Category:** Ignition Early Access\
**Created:** [March 26, 2019, 7:55pm UTC](https://forum.inductiveautomation.com/t/expression-binding-functions-dates-are-now-floating-point-numbers-in-vision/23615 "2019-03-26T19:55:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hodgins.e](https://avatars.discourse-cdn.com/v4/letter/h/977dab/32.png) [@hodgins.e](https://forum.inductiveautomation.com/u/hodgins.e)\
**Post date:** [March 26, 2019, 7:55pm UTC](https://forum.inductiveautomation.com/t/expression-binding-functions-dates-are-now-floating-point-numbers-in-vision/23615/1 "2019-03-26T19:55:17Z")

</div>

I’ve noticed the Expression Bindings for dates return doubles now. For example:

`getYear({Root Container.Date Range.endDate})`

Would return `2019.0` as in 7.9 it would return 2019.

Just wondering if it’s going to remain like this or when would it return `2019.5` for example?

![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/3/3b1071763de2d79323847dc41ad38fdc88b27a76.png)

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [March 27, 2019, 4:39pm UTC](https://forum.inductiveautomation.com/t/expression-binding-functions-dates-are-now-floating-point-numbers-in-vision/23615/2 "2019-03-27T16:39:54Z")

</div>

I believe the “.0” you are seeing is only a result of the casting of the value to a “double”. When a casting is performed it changes the _format_ of the value, but not the value itself, and so you should not expect anything other than a “.0” when getting years. I’m not sure why we moved to casting years as doubles in expressions, but the value you’re getting is correct for the `double` type.
