Guilin Sun
Ansys Employee

The getresult by default gives short-format data, which has 6 digits in total. The saved data seems using long format to give more digitst. This might be desired for example later those data are used in INTERCONNECT and the component can be very long, say meters or kilimeters. 

You can use

format long;

?getresult("mode1", "neff"); 

and then

format short;

?getresult("mode1", "neff"); 

 

If you want to have short format data, you can write the data into a text file using "write":

https://optics.ansys.com/hc/en-us/articles/360034411134-write-Script-command