# Calculated fields and smart fields problems (regressions in 6.3.7 and 6.6.2?)

**URL:** <https://community.forestadmin.com/t/calculated-fields-and-smart-fields-problems-regressions-in-6-3-7-and-6-6-2/1499>\
**Category:** Help me!\
**Created:** [December 21, 2020, 12:51pm UTC](https://community.forestadmin.com/t/calculated-fields-and-smart-fields-problems-regressions-in-6-3-7-and-6-6-2/1499 "2020-12-21T12:51:54Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Sliman\_Medini](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/sliman_medini/32/19_2.png) [@Sliman\_Medini](https://community.forestadmin.com/u/Sliman_Medini)\
**Post date:** [December 22, 2020, 10:12am UTC](https://community.forestadmin.com/t/calculated-fields-and-smart-fields-problems-regressions-in-6-3-7-and-6-6-2/1499/4 "2020-12-22T10:12:49Z")

</div>

Hi @Matteo,

I understand you turn a stringified decimal right back to decimal because of a bug (or a lack) in sequelize, using a sequelize getter.  
The following is working on my side:

```javascript
// Using:
const value = this.dataValues['providerCommissionsPercentage'];
// instead of:
const value = this.getDataValue('providerCommissionsPercentage')

```

Let say if it helps.  
If not, please let me know if the field is working (as a string) without de getter.

---

_[View the full topic](https://community.forestadmin.com/t/calculated-fields-and-smart-fields-problems-regressions-in-6-3-7-and-6-6-2/1499)._
