directus-extension-computed-interface
directus-extension-computed-interface copied to clipboard
Decimal parseInt
Hello, when selecting a decimal value it is always converted to an integer value I find this in interface.vue
if (['integer', 'decimal', 'bigInteger'].includes(props.type)) { return parseInt(res) || 0; } if (['float'].includes(props.type)) { return parseFloat(res) || 0; }
I hope it is helpful, thank you
This is preventing the use of the extension when working with monetary values.
I Just experienced the same issue. Cannot correctly sum up decimal monetary values (e.g. EUR)