It appears (from the grammar supplied in the source) and bitter experience that the NetAdvantage for WinForms v5.3 control does not accept numbers of the form 1.4e-10. Is this corrected in later versions of the control?
Thanks in advance,
Dave
Hi Dave,
I doubt it. I'm pretty sure that the CalcManager does something like double.TryParse to get the value into a numeric value and double.Parse won't recognize exponential notation, either.
But why use a string to represent a numeric value in a formula? Where is this string coming from?
Hi Mike.
Thanks for the quick reply and apologies for my late one - I have been away over the holiday period :)
I am not using the calc manager on a form, I am using the Calculate method to calculate a formula held in a string; the formula parser only recognises 0-9[.0-9] as a double number in this case - I was just expecting it to be a bit smarter than that, that's all.
Cheers,