FLOAT DEFAULT 1.8e8 : FLOAT « Procedure Function « MySQL Tutorial






mysql>
mysql> delimiter $$
mysql>
mysql> CREATE PROCEDURE myProc()
    -> BEGIN
    ->      DECLARE l_float     FLOAT DEFAULT 1.8e8;
    ->     select l_float;
    -> END$$
Query OK, 0 rows affected (0.00 sec)

mysql> delimiter ;
mysql>
mysql> call myProc();
+----------+
| l_float  |
+----------+
| 1.8e+008 |
+----------+
1 row in set (0.00 sec)

Query OK, 0 rows affected (0.00 sec)

mysql>
mysql> drop procedure myProc;
Query OK, 0 rows affected (0.00 sec)

mysql>
mysql>








11.25.FLOAT
11.25.1.FLOAT point value
11.25.2.FLOAT DEFAULT 1.8e8