Some Important Mathematics Functions In PHP
Sample 1 : Example of Float.
Absolute Function Code295
Power Function Code
6561
Square Root Function Code
10
Mod Function Code
6
3.8745
Random Value Function Code
1877
7
<html lang="en">
<head>
<title><?php $pagetitle="Some Important Mathematics Functions In PHP : 6th Day Lecture : Samee";
echo $pagetitle; ?></title>
<meta name="description" content="<?php echo $pagetitle ?>" />
<meta name="robots" value="nofollow, noindex" />
<link rel="icon" type="image/ico" href="http://www.iconarchive.com/download/i50954/deleket/3d-cartoon-vol3/Web-Coding.ico" alt="Icon" />
<link type="text/css" href="http://www.getacho.com/download/phpcss/stylesheet.css" rel="stylesheet" />
</head>
<body>
<img id="logo" src="http://icons.iconarchive.com/icons/deleket/3d-cartoon-vol3/256/Web-Coding-icon.png" alt="Coding">
<h1 align="center">Some Important Mathematics Fucntions In PHP : <a href="http://sameearticles.blogspot.com" target="_blank">Samee Articles</a></h1>
<h2 align="left">Sample 1 : Example of Float.</h2>
<?php
echo "Absolute Function Code <br />";
echo abs(5 - 300) . "<br />";
echo "Power Function Code <br />";
echo pow(3, 8) . "<br />";
echo "Square Root Function Code <br />";
echo sqrt(100) . "<br />";
echo "Mod Function Code <br />";
echo fmod(20, 7) . "<br />";
echo fmod(3.8745, 40.45523) . "<br />";
echo "Random Value Function Code <br />";
echo rand() . "<br />";
echo rand(5,10) . "<br />";
?>
</body>
</html>

Post a Comment
Give your reviews about this blog. Leave your comments. What do you think about this post?
Comments Guidelines:
1) I love to read comments, but please avoid spam.
2) Like this blog, share your insights, and spread the word.
3) You can use basic HTML/xHTML tags.
4) All comments are DoFollow—please use the section professionally.
5) Kindly mention your name or brand below your comment.
6) Constructive suggestions for improvement are always welcome.
Thanks for visiting Samee Articles.
========================================
Best Regards,
Samee U. Feroz