Hi,
Thanks for your posting and using Aspose.Cells.
We were able to observe this difference between the older and newer version after executing your sample code with your source excel file. The older version returns null for the value type while newer version returns string for the value type. However, it might be a desired behavior.
We have logged this issue in our database for investigation. We will look into it and fix this issue. Once the issue is resolved or we have some other update for you, we will let you know asap.
This issue has been logged as
-
CELLSJAVA-41467 - Older version returns value type as null but newer version returns value type as string.
I have also shown the console output of your code with older and newer version for a reference.
Console Outputs
7.7.0.0
Book1.xlsx
Aspose.Cells.Cell [ M13; ValueType : IsNull; Formula:=IF(M12=12,12,"") ]
Cell type is null
8.5.2.0
Book1.xlsx
Aspose.Cells.Cell [ M13; ValueType : IsString; Value : ; Formula:=IF(M12=12,12,"") ]
Cell type is string