phpCopy<?php $mystring = "0.5674"; echo("This float number is of string data type "); echo($mystring); echo(" "); $myfloat = floatval($mystring); echo("Now, this float number is of float data type "); echo($myfloat); ?>