Module:ns.operators.arithmetic
From NoxBot the modular PHP IRC bot
| Module: ns.operators.arithmetic | |
|---|---|
| Developer | Mark Sanders |
| Namespace | ns.operators |
| Authgroup | operators |
| Commands | Pow sub |
| Copyright | 2005-2009 Mark Sanders |
| License | GNU GPLv3 |
Description
This module exposes some basic functionality of PHP's arithmetic operators and a few functions.
See also http://php.net/manual/en/language.operators.arithmetic.php
Commands
Pow
- AuthGroup: operators
- Alias: **
- Arguments: required:number, required:number
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "pow". See also http://php.net/pow
This command is a wrapper for the PHP function pow.
Sqrt
- AuthGroup: operators
- Alias: //
- Argument: required:number
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "sqrt". See also http://php.net/sqrt
This command is a wrapper for the PHP function sqrt.
add
- AuthGroup: operators
- Alias: +
- Arguments: required:number, required:number
- Chaining: Chaining capable
- Help line: Equivalant to PHP's + arithmetic operator.
Equivalant to PHP\'s + arithmetic operator.
div
- AuthGroup: operators
- Alias: /
- Arguments: required:number, required:number
- Chaining: Chaining capable
- Help line: Equivalant to PHP's / arithmetic operator.
Equivalant to PHP\'s / arithmetic operator.
mod
- AuthGroup: operators
- Alias: %
- Arguments: required:number, required:number
- Chaining: Chaining capable
- Help line: Equivalant to PHP's % arithmetic operator.
Equivalant to PHP\'s % arithmetic operator.
mul
- AuthGroup: operators
- Alias: *
- Arguments: required:number, required:number
- Chaining: Chaining capable
- Help line: Equivalant to PHP's * arithmetic operator.
Equivalant to PHP\'s * arithmetic operator.
sub
- AuthGroup: operators
- Alias: -
- Arguments: required:number, optional:number
- Chaining: Chaining capable
- Help line: Equivalant to PHP's - arithmetic operator.
Equivalant to PHP\'s - arithmetic operator.
Copyright and License
Copyright (C) 2005-2009 Mark Sanders
License: GNU GPLv3
User comments
|
Below you can find comments and annotations added by users. |
|
User comments can include false information. We are not responsble for the content posted by users. |
|
Useful links for NoxBot users | |||||
|
Browse through the functionality of NoxBot by | |||||
|
Useful links for NoxBot Developers and module writers | |||||

