There is no difference in PHP. float
, double
or real
are the same datatype.
At the C level, everything is stored as a double
.
The real size is still platform-dependent.
See the manual for more details:
http://www.php.net/manual/en/language.types.float.php
More Related Contents:
- how can I print multiple services in this way
- Undefined index $_POST
- Reference — frequently asked questions about PDO
- Warning: A non-numeric value encountered
- Getting raw SQL query string from PDO prepared statements
- How to get count of rows in MySQL table using PHP?
- How can I have a 64-bit integer in PHP?
- How to bind mysqli bind_param arguments dynamically in PHP?
- “Invalid parameter number: parameter was not defined” Inserting data
- Does PHP allow named parameters so that optional arguments can be omitted from function calls?
- PHP: Split string [duplicate]
- Calling non-static method with double-colon(::)
- Group array data on one column and sum data from another column
- Parse a CSS file with PHP
- How to load PHP file into DIV by jQuery?
- Dynamic table in HTML using MySQL and php
- Why is it whenever I use scandir() I receive periods at the beginning of the array?
- Multiple excerpt lengths in wordpress
- Good error handling with file_get_contents [duplicate]
- Object of class mysqli_result could not be converted to string
- PHP dynamic name for object property
- How to setup a cron job in Magento module?
- converting SOAP XML response to a PHP object or array
- How to backup MySQL database in PHP?
- How to block Disposable Email Addresses in your website’s registration form? [closed]
- Gmail API: 400 bad request when trying to send an email (PHP code)
- MP4 plays when accessed directly, but not when read through PHP, on iOS
- Dynamically bind mysqli_stmt parameters and then bind result
- PHP: Date larger than current date
- How can you use php in a javascript function [duplicate]