At 11:31 AM 2/4/2003 -0800, Sara Golemon wrote:
> BTW, is php_str2num() only supposed to work on whole or decimal values? > What about exponents? > bc_str2num() only allows whole or decimal values so that's all I wrote php_str2num to allow for. By 'exponents' do you mean scientific notation? I don't see any support for that in the bc conversion functions. I don't suppose it would take much to add that capability, but that'd be a feature change and should probably be done separately (and only in HEAD).
Nah, if it doesn't support scientific notation then I'd leave it. IMO, just go ahead and commit. Andi
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php