PHP FILTER_VALIDATE_FLOAT 过滤器
PHP 教程
· 2019-01-25 22:44:16
定义和用法
FILTER_VALIDATE_FLOAT 过滤器把值作为浮点数来验证。
- Name: "float"
- ID-number: 259
实例
<?php $var=12.3; var_dump(filter_var($var, FILTER_VALIDATE_FLOAT)); ?>
代码的输出如下所示:
float(12.3)
点击查看所有 PHP 教程 文章: https://www.codercto.com/courses/l/5.html
Chinese Authoritarianism in the Information Age
Routledge / 2018-2-13 / GBP 115.00
This book examines information and public opinion control by the authoritarian state in response to popular access to information and upgraded political communication channels among the citizens in co......一起来看看 《Chinese Authoritarianism in the Information Age》 这本书的介绍吧!