P2Number

An object used for comparing and counting

Factory Messages

Operational Messages

== aNumber

Answer true if the receiver is equal to aNumber else answer false

>= aNumber

Answer true if the receiver is greater than or equal to aNumber else answer false

> aNumber

Answer true if the receiver is greater than aNumber else answer false

<= aNumber

Answer true if the receiver is less than or equal to aNumber else answer false

< aNumber

Answer true if the receiver is less than aNumber else answer false

- aNumber

Answer true the result of subtracting aNumber from the receiver

!= aNumber

Answer true if the receiver is not equal to aNumber else answer false

collate: aBlock

do: aBlock

+ aNumber

Answer true the result of adding the receiver and aNumber

* aNumber

Answer true the result of multiplying the receiver and aNumber