PHP Type coulé à l'aide de float
// Type cast using float
echo (float)$num, "\n";
Irfan
// Type cast using float
echo (float)$num, "\n";