Calculated value is blank

I’ve created a class SubDivision.

This is added to subDivisionValue field:

But the calculated field still comes as blank:

I’ve gone through the documentation to check what is wrong, however I’m not able to identify the issue here.

Hi

please, look at docs - you need to implement CalculatorClassInterface

https://pimcore.com/docs/6.x/Development_Documentation/Objects/Object_Classes/Data_Types/Calculated_Value_Type.html