Instead of using floatval which only appeared in PHP 4.2 you could juse use
$variable = (float)$variable
This function doesn't seem to add any
functionality that wasn't already there.
| PHP动态 | 经典文章 | CLASS | 相关下载 | 常见问题 | FORUM | WIKI | 在线手册 |
| |||||||||||||||
| view source | feedback | send page | sitemap | aboutus |
|
Copyright ® 2002-2003 PHPE.NET. All rights reserved Last updated:2002-11-22 |