Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
$calc help
Forums
Active Threads
Search
Who's Online
Help
Print Thread
$calc help
#
235025
20/11/11
04:24 PM
Joined:
Nov 2011
Posts: 52
E
eawedat
OP
Babel fish
OP
eawedat
Babel fish
E
Joined:
Nov 2011
Posts: 52
hey all,,
Php Code:
//echo -a $calc(12%10)
I get 12, but I am interested in the number 2 , the remainder.
thanks.
Last edited by eawedat;
20/11/11
04:32 PM
.
Copy Link to Clipboard
Re: $calc help
eawedat
#
235026
20/11/11
04:44 PM
Joined:
Jan 2004
Posts: 2,127
maroon
Hoopy frood
maroon
Hoopy frood
Joined:
Jan 2004
Posts: 2,127
separate the % mod from the attachments:
//echo -a $calc(12 % 10)
Copy Link to Clipboard
Re: $calc help
maroon
#
235028
20/11/11
05:34 PM
Joined:
Nov 2011
Posts: 52
E
eawedat
OP
Babel fish
OP
eawedat
Babel fish
E
Joined:
Nov 2011
Posts: 52
thanks
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage