![]() |
Probably a bug with $#
do {
local $# = '%f'; $x = 0.000001; $sql = "Something $x something"; print $sql; }; Result: Something 1e-06 something And should be: Something 0.000001 something Is this my fault or a bug? I'm using perl v5.8.7 You may also like to check this: $x = 0.000001; print "$x"; do { local $# = "%.10f"; print "$x"; }; print "$x"; |
| All times are GMT. The time now is 11:42 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.