HomePage HomePage
JW Davidson JW Davidson

RSS feed for the TestJwd namespace

Show Changes Show Changes
Print Print
Recent Changes Recent Changes
Subscriptions Subscriptions
Lost and Found Lost and Found
Find References Find References
Local Search

History

8/31/2007 5:24:29 PM
-66.78.116.108
7/20/2007 10:20:24 PM
-10.10.192.236
List all versions List all versions

Integer Demo
.

What information is available about a Integer?

A Integer type has the following members:

Integer Add(Object value)
Answer the addition of this integer to the supplied value
Integer Divide(Object value)
Answer the integer division of this integer by the supplied value
Object Equals(Object obj)
Determine whether this object is equal to another object
Object GreaterThan(Integer otherValue)
Answer true or false depending on whether this number is greater than the supplied integer
Object GreaterThanOrEqualTo(Integer otherValue)
Answer true or false depending on whether this number is greater than or equal to the supplied integer
Object LessThan(Integer otherValue)
Answer true or false depending on whether this number is less than the supplied integer
Object LessThanOrEqualTo(Integer otherValue)
Answer true or false depending on whether this number is less than or equal to the supplied integer
Integer Multiply(Object value)
Answer the multiplication of this integer with the supplied value
Integer Random(Integer lowerValue, Integer maxValue)
Answer a random interger from the first supplied integer to the second supplied integer
Integer Subtract(Object value)
Answer the subtraction of the supplied value from this integer

Examples

10.Subtract(5) = 5

5.Equals(5) = true

5.Equals(5).Not = false

5.Lessthan(4) = false

5.GreaterThanOrEqualTo(4) = true

5.GreaterThan(4) = true

4.GreaterThan(5) = false

4.GreaterThanOrEqualTo(5) = false

Is this topic older than 7 days old?: true

30.Divide(9) = 3

35

Number of topics modified in the last minute: 4

Not logged in. Log in

The wiki for all things Objective Design Solutions

Recent Topics
IntegerDemo IntegerDemo
List all versions List all versions

----

Go to Google.com
Change Style
Powered by Flexwiki v2.0.0.218