Skip to main content
Unlisted page
This page is unlisted. Search engines will not index it, and only users having a direct link can access it.

PHP Numbers

Integer & Float

$int = 42; // Integer
$float = 3.14159; // Float (double)

Type Juggling

PHP automatically converts between types:

$result = "10" + 5; // 15 (string converted to int)

Math Functions

abs(-5); // 5
round(3.7); // 4
ceil(3.1); // 4
floor(3.9); // 3
max(1, 5, 3); // 5
min(1, 5, 3); // 1
rand(1, 10); // Random number between 1-10

📍 Visit Us

🏫 VD Computer Tuition Surat

VD Computer Tuition
📍 Address
2/66 Faram Street, Rustompura
Surat395002, Gujarat, India
📞 Phone / WhatsApp
+91 84604 41384
🌐 Website

Computer Classes & Tuition — Areas We Serve in Surat

AdajanAlthanAmroliAthwaAthwalinesBhagalBhatarBhestanCanal RoadChowkCitylightDumasGaurav PathGhod Dod RoadHaziraJahangirpuraKamrejKapodraKatargamLimbayatMagdallaMajura GateMota VarachhaNanpuraNew CitylightOlpadPalPandesaraParle PointPiplodPunaRanderRing RoadRustampuraSachinSalabatpuraSarthanaSosyo CircleUdhnaVarachhaVed RoadVesuVIP Road
📞 Call Sir💬 WhatsApp Sir