Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to convert integer to float php

<?php
$num = 109;
$numf = sprintf("%.2f",$num);
echo $numf;
?>	
Source by tutorialdeep.com #
 
PREVIOUS NEXT
Tagged: #convert #integer #float #php
ADD COMMENT
Topic
Name
9+4 =