ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-win32-users
perl-win32-users
RE: Using scientific notation as a numeric value within a CVS file?
by Wagner, David --- Senior Programmer Analyst --- WGO other posts by this author
Sep 30 2003 3:55PM messages near this date
view in the new Beta List Site
Re: Tk main window draw problems. | file-parsing (I got it)
Hanson, Rob wrote:
>  Unless you need something specific, you can use them as is since
>  those are valid numbers in Perl...
>  
>  print "9.12e-002" * 1; # prints 0.0912
>  print "9.12e-002" * 2; # prints 0.1824
>  print "9.12e-002" + 100; # prints 100.0912
>  
>  These all give correct answers.  Did you need to convert them back to
>  the e-notation?
>  
>  Rob
	No. Just didn't think it would be so simple. But that is Perl.  

	Thanks for the help.

Wags ;)


**********************************************************
This message contains information that is confidential
and proprietary to FedEx Freight or its affiliates.
It is intended only for the recipient named and for
the express purpose(s) described therein.
Any other use is prohibited.
****************************************************************


_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved