CodePlexProject Hosting for Open Source Software
An unexpected error has occured.
There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Voted
KirillOsenkov wrote May 14, 2009 at 9:41 PM
marten_range wrote Jul 21, 2009 at 12:31 PM
Func<int, string> EToString = (idx) => { var e = arity.Access(constant.Value, idx); if (arity.TypeOfK == typeof(bool)) return ((bool)e) ? "1" : "0"; else return e.ToString(); };
Func<int, string> EToString = (idx) => { var e = arity.Access(constant.Value, idx); if (arity.TypeOfK == typeof(bool)) return ((bool)e) ? "1" : "0"; if (arity.TypeOfK == typeof(double)) return ((double)e).ToString(CultureInfo.InvariantCulture); else return e.ToString(); };
Sign in to add a comment or to set email notifications
Keyboard shortcuts are available for this page.