StrToDouble - page 2

 

This looks useful, and a good job. I have not used it yet, but have a couple of comments:


1) Without source, we have to trust you to run this, so that the dll might be doing other (untoward) things like sending you my passwords!

Well I dont actually think so,but it could and thats a strong reason to have the source.


2) Can I suggest that the return value in the event of a parsing error should be configurable? 0.00 is fine as a default, but why not pass it in as a final optional parameter?

This means that I can use -1.0 if that fits my application, or 1000000 if that does. 0.00 is often a perfectly valid value, so using it as a flag signifying error is not really useful.

Reason: