I have searched a lot and got some solutions but end up with getting only formula. Like:
var fld = l2.Fields.GetByInternalNameOrTitle("Months"); //Months is a calculated field
var fldCalc = new FieldCalculated(clientContext2, fld.Path);
clientContext2.Load(fld, f => f.SchemaXml);
clientContext2.Load(fldCalc);
clientContext2.ExecuteQuery();
Console.WriteLine(fldCalc.Formula);
I have also seen the solution for server side like:
SPFieldCalculated cf =(SPFieldCalculated)myItem.Fields["Months"];string value = cf.GetFieldValueForEdit(myItem["Months"]);
But not able to find the solution/value that i need!! Please help.