BullyWiiHacks
Welcome dear guest! Very Happy

To start posting and being part of the BWH community, you simply need to register an account or log into an existing one.

If you do not wish to register at all, that's fine but there will be more advertisements. :/

You can probably see and download most content provided for regular members even without an account.

Your contributions will be greatly appreciated though, give it a shot and register today! thumbsup

Join the forum, it's quick and easy

BullyWiiHacks
Welcome dear guest! Very Happy

To start posting and being part of the BWH community, you simply need to register an account or log into an existing one.

If you do not wish to register at all, that's fine but there will be more advertisements. :/

You can probably see and download most content provided for regular members even without an account.

Your contributions will be greatly appreciated though, give it a shot and register today! thumbsup
BullyWiiHacks
Would you like to react to this message? Create an account in a few clicks or log in to continue.
BullyWiiHacks

Gaming, Modding & Programming

Important reminders:

- Click *HERE* for advanced forum search or check out the text field below on the front page for Google before posting
- NO support via private message (use the forum)
- Write meaningful topic titles
Site Translation
Latest topics
» Error Injecting Drool Links Saliva Mod Menu
Math Empty10/18/2024, 2:58 am by SnB@BWH

» USB Gecko problems with some games
Math Empty10/16/2024, 1:59 pm by Reclaimer Shawn

» JMaster Duel Bot: A Yu-Gi-Oh! Master Duel Bot and Trainer for Steam
Math Empty10/11/2024, 2:21 pm by z1379228

» Metal Gear Solid V The Phantom Pain X Flashpoint Batman Gameplay unedited [Seth@WiiPlaza]
Math Empty9/23/2024, 12:48 pm by Seth@WiiPlaza

» Dropped Out of College to Pursue Web Dev and Life Pursuits in General
Math Empty8/9/2024, 7:09 am by SnB@BWH

» Lego Stars Wars: The Complete Saga [RLGE64]
Math Empty8/1/2024, 2:04 am by Whatever_1240

» ASM <> Gecko Code Converter
Math Empty7/29/2024, 11:15 am by Mac11ngAround

» German With a Jackhammer
Math Empty7/28/2024, 3:42 pm by SnB@BWH

» Wii RAM Hacking: Pointers and ASM
Math Empty7/23/2024, 1:54 pm by Mac11ngAround

» IBM AIX Assembler Programming Reference - Useful For PPC ASM
Math Empty7/21/2024, 5:00 pm by Mac11ngAround

Search
 
 

Display results as :
 


Rechercher Advanced Search

November 2024
MonTueWedThuFriSatSun
    123
45678910
11121314151617
18192021222324
252627282930 

Calendar Calendar

Country Statistics
Free counters!

You are not connected. Please login or register

Math

Go down  Message [Page 1 of 1]

1Math Empty Math 9/5/2014, 5:14 am

Bully@WiiPlaza

Bully@WiiPlaza
 
 

The following mathematical operators can be used in combination with integer variables:
Code:
+ Addition
- Subtraction
* Multiplication
% Modulo
++ Increment by 1
-- Decrement by 1
+= Increment by
-= Decrement by
Note:
Brackets can be used to group statements together and may be necessary when using more than one argument.

Example
Code:
someNumber = (5 + 3) * 2; // Assign someNumber with value 16
someNumber++; // Increment 16 by 1 (= 17)
someNumber += 2; // Increment 17 by 2 (= 19)
someNumber = someNumber % 2; // Divide by 2 and assign the rest (= 1)

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum