English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Help! Please, show me a simple example of one. ThX!

2007-03-20 10:32:35 · 2 answers · asked by Am 4 in Computers & Internet Programming & Design

wha????

how do you get 4 from 24 and 10???
in that
"print 24%10; // should display 4"
Uh? So confused ...

2007-03-20 11:02:26 · update #1

"The Count" oh yeah that might help ... I'll see k ThX!!! (kinda on a time limit here though lol)

2007-03-20 11:03:43 · update #2

2 answers

The modulus operator is the percent (%) sign.

print 24%10; // should display 4

2007-03-20 10:43:54 · answer #1 · answered by romulusnr 5 · 0 0

This web site should help you out. Hope it does.
http://www.php.net/tut.php

2007-03-20 17:47:22 · answer #2 · answered by The Count 7 · 0 0

fedest.com, questions and answers