Define Integer, double and string value and output them : Double : Language Basics PHP Source Code


PHP Source Code » Language Basics » Double »

 

Define Integer, double and string value and output them



<?php

$integer_value = 1;
$double_value  = 1.2345678e6;
$string_value  = "This is a string";

echo("<BR>integer value: ");

echo $integer_value;
echo("<BR>double value: ");

echo($double_value);
echo("<BR>string value: ");
echo($string_value);
?>


           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Language Basics
» Double