Vision Messages: Number

| Home | Number Class | Message XRef | Messages (General) |

Profile of Class Number


Includes Classes: Double, Float, Integer, Number, Ordinal



Object
  | 
Ordinal
  | 
  +--- Number
  |      |
  |      +--- Double
  |      |
  |      +--- Float
  |      |
  |      +--- Integer


The class Number is an abstract class that is used to organize the numeric classes in the VISION hierarchy. Each different kind of numerical value is represented by one of three specializations of the class Number: Double, Float, or Integer. Most numbers are either Integer (no decimal value) or Double (decimal value). The Float class is used for efficiency in storing numbers in large databases that are known not to require the extra precision and space associated with double precision numbers.


Message Index

o != aValue
o * aValue (Double)
o * aValue (Float)
o * aValue (Integer)
o + aValue (Double)
o + aValue (Float)
o + aValue (Integer)
o - aValue (Double)
o - aValue (Float)
o - aValue (Integer)
o / aValue (Double)
o / aValue (Float)
o / aValue (Integer)
o < aNumber (Ordinal)
o < aValue (Double)
o < aValue (Float)
o < aValue (Integer)
o <= aNumber (Ordinal)
o <= aValue (Double)
o <= aValue (Float)
o <= aValue (Integer)
o = aValue (Double)
o = aValue (Float)
o = aValue (Integer)
o > aNumber (Ordinal)
o > aValue (Number)
o >= aNumber (Ordinal)
o >= aValue (Number)
o __asOpenVisionChannel
o __fixReference (Double)
o __fixReference (Float)
o __fixReference (Integer)
o _integerRefTo:
o _nthPOPReferencedBy: pop
o _packPOPWithSpace: space
o _primitiveRefTo:
o absoluteValue
o adjustedMod: aNumber
o arcCosine (Number)
o arcCosine (Double)
o arcSine (Number)
o arcSine (Double)
o arcTangent (Number)
o arcTangent (Double)
o asAPowerOf: baseNumber (Number)
o asAPowerOf: aBaseNumber (Double)
o asClusterType
o asDate (Number)
o asDate (Integer)
o asDateFromMMDD
o asDateFromMMDDYY
o asDateFromMMDDYYYY
o asDateFromMMYY
o asDateFromYYMMDD
o asDateFromYYYYMM
o asDouble (Double)
o asDouble (Float)
o asDouble (Integer)
o asFloat (Double)
o asFloat (Float)
o asFloat (Integer)
o asInteger (Double)
o asInteger (Float)
o asInteger (Integer)
o asMonthEnd
o asMonthEndInYear: aYear
o asNumber (Double)
o asNumber (Float)
o asNumber (Integer)
o asObjectSpace
o asOpenVisionChannel
o asPOP
o asPointerTo: (Double)
o asPointerTo: (Float)
o asPointerTo: (Integer)
o asPrimitive
o asReferenceTo:
o asSelf (Ordinal)
o asSelf (Number)
o asSelf (Double)
o asSelf (Float)
o asSelf (Integer)
o asString
o base0CellPositionOf: aList (Number)
o base0CellPositionOf: aList (Integer)
o base1CellPositionOf: aList (Number)
o base1CellPositionOf: aList (Integer)
o basicAsDate
o becomeSeekOffsetOf: openVisionChannel (Number)
o becomeSeekOffsetOf: openVisionChannel (Integer)
o between: anOrdinal1 and: anOrdinal2
o businessDays
o canonicalizedForSort (Double)
o canonicalizedForSort (Float)
o canonicalizedForSort (Integer)
o classDescriptor (Ordinal)
o classDescriptor (Number)
o classDescriptor (Double)
o classDescriptor (Float)
o classDescriptor (Integer)
o convertFrom: string (Number)
o convertFrom: string (Double)
o convertFrom: string (Float)
o convertFrom: string (Integer)
o cosine (Number)
o cosine (Double)
o days
o defaultInstance (Ordinal)
o defaultInstance (Number)
o defaultInstance (Double)
o defaultInstance (Float)
o defaultInstance (Integer)
o dividedInto: (Double)
o dividedInto: (Float)
o dividedInto: (Integer)
o dropFromString: aString
o evaluate: aBlock
o exp (Number)
o exp (Double)
o fillFromString: aString
o getStringFrom: openVisionChannel
o hyperbolicCosine (Number)
o hyperbolicCosine (Double)
o hyperbolicSine (Number)
o hyperbolicSine (Double)
o hyperbolicTangent (Number)
o hyperbolicTangent (Double)
o Ordinal inRange: aList
o inSet: aList
o inputExpression
o instancesAdjacentTo:
o isDouble
o isFloat
o isInteger
o isNumber
o isOrdinal
o log (Number)
o log (Double)
o log: aNumber
o max: aNumber
o min: aNumber
o mod: aValue
o monthBeginnings
o monthEnds
o months
o negated
o new
o notBetween: anOrdinal1 and: anOrdinal2
o numberOfDigits
o orderUsingDictionary: (Double)
o orderUsingDictionary: (Float)
o orderUsingDictionary: (Integer)
o pctChangeTo: aNumber
o prefixWith: aString
o print (Double)
o print (Float)
o print (Integer)
o print: aNumber
o printOf: (Double)
o printOf: anObject (Float)
o printOf: (Integer)
o printWithCommas: aNumber
o printWithCommasOf: (Double)
o printWithCommasOf: anObject (Float)
o printWithCommasOf: (Integer)
o printWithLeadingZeros: width
o printWithLeadingZerosNL: width
o putByteTo: openVisionChannel (Number)
o putByteTo: (Integer)
o putDoubleTo: openVisionChannel (Number)
o putDoubleTo: (Double)
o putFloatTo: openVisionChannel (Number)
o putFloatTo: (Float)
o putLongTo: openVisionChannel (Number)
o putLongTo: (Integer)
o putShortTo: openVisionChannel (Number)
o putShortTo: (Integer)
o quarterBeginnings
o quarterEnds
o quarters
o round
o round: anInteger
o sequence (Number)
o sequence (Integer)
o sequence0 (Number)
o sequence0 (Integer)
o sequenceTo: endNumber
o sign
o sine (Number)
o sine (Double)
o sprint: aNumber
o sprintOf: (Double)
o sprintOf: anObject (Float)
o sprintOf: (Integer)
o sprintWithCommas: aNumber
o sprintWithCommasOf: (Double)
o sprintWithCommasOf: anObject (Float)
o sprintWithCommasOf: (Integer)
o sqrt (Number)
o sqrt (Double)
o subtractedFrom: (Double)
o subtractedFrom: (Float)
o subtractedFrom: (Integer)
o takeFromString: aString
o tangent (Number)
o tangent (Double)
o to: aDate by: aDateOffset
o toThe: aNumber (Number)
o toThe: aValue (Double)
o whatAmI (Ordinal)
o whatAmI (Number)
o whatAmI (Double)
o whatAmI (Float)
o whatAmI (Integer)
o within: x percentOf: y
o yearBeginnings
o yearEnds
o years


Messages

o !=

Synopsis:
Number != aValue

Description:

Tests if supplied value is not equal to recipient Number.

Type: Method          Returns: Boolean

Parameters:

1 - Value

Also Defined At:
| Date | Object | String |

o *

Synopsis:
Double * aValue

Description:

Multiplies recipient by the supplied value. If invalid parameter is given, it returns NA.

Type: Primitive          Returns: Double

Parameters:

1 - Number

Also Defined At:
| DateOffset | List | TimeSeries | Undefined |

o *

Synopsis:
Float * aValue

Description:

Multiplies recipient by the supplied value. If an invalid paramter is given, it returns NA.

Type: Primitive          Returns: Double

Also Defined At:
| DateOffset | List | TimeSeries | Undefined |

o *

Synopsis:
Integer * aValue

Description:

Multiplies recipient by the supplied value. If an invalid parameter is given, it returns NA.

Type: Primitive          Returns: Double

Also Defined At:
| DateOffset | List | TimeSeries | Undefined |

o +

Synopsis:
Double + aValue

Description:

Adds supplied value to the recipient. If an invalid parameter is given, it returns NA.

Type: Primitive          Returns: Double

Parameters:

1 - Number

Also Defined At:
| Date | DateOffset | List | TimeSeries | Undefined |

o +

Synopsis:
Float + aValue

Description:

Adds supplied value to the recipient. If an invalid parameter is given, it returns NA.

Type: Primitive          Returns: Double

Also Defined At:
| Date | DateOffset | List | TimeSeries | Undefined |

o +

Synopsis:
Integer + aValue

Description:

Adds supplied value to the recipient.

Type: Primitive          Returns: Double

Also Defined At:
| Date | DateOffset | List | TimeSeries | Undefined |

o -

Synopsis:
Double - aValue

Description:

Subtracts supplied value from the recipient. If an invalid parameter is given, it returns NA.

Type: Primitive          Returns: Double

Parameters:

1 - Number

Also Defined At:
| Date | List | TimeSeries | Undefined |

o -

Synopsis:
Float - aValue

Description:

Subtracts supplied value from the recipient. If an invalid parameter is given, it returns NA.

Type: Primitive          Returns: Double

Also Defined At:
| Date | List | TimeSeries | Undefined |

o -

Synopsis:
Integer - aValue

Description:

Subtracts supplied value from the recipient.

Type: Primitive          Returns: Double

Also Defined At:
| Date | List | TimeSeries | Undefined |

o /

Synopsis:
Double / aValue

Description:

Divides recipient by the supplied value. If invalid parameter is given, it returns NA.

Type: Primitive          Returns: Double

Parameters:

1 - Number

Also Defined At:
| List | TimeSeries | Undefined |

o /

Synopsis:
Float / aValue

Description:

Divides recipient by the supplied value. If an invalid parameter is given, it returns NA.

Type: Primitive          Returns: Double

Also Defined At:
| List | TimeSeries | Undefined |

o /

Synopsis:
Integer / aValue

Description:

Divides recipient by the supplied value.

Type: Primitive          Returns: Double

Also Defined At:
| List | TimeSeries | Undefined |

o <

Synopsis:
Ordinal < aNumber

Description:

Tests if recipient is smaller than supplied value. Each subclass of Ordinal must redefine this message. If a subclass does not implement <, then an attempt to send the message to a subclass results in an error message of the form: >>> '<' must be implemented for 'recipient' <<<.

Type: Method          Returns: Boolean

Parameters:

1 - Number

Also Defined At:
| Date | Object | String | Undefined |

o <

Synopsis:
Double < aValue

Description:

Tests if recipient is less than supplied value.

Type: Primitive          Returns: Boolean

Parameters:

1 - Number

Also Defined At:
| Date | Object | String | Undefined |

o <

Synopsis:
Float < aValue

Description:

Tests if recipient is less that supplied value. If an invalid parameter is given, it returns NA.

Type: Primitive          Returns: Boolean

Also Defined At:
| Date | Object | String | Undefined |

o <

Synopsis:
Integer < aValue

Description:

Tests if recipient is less than supplied value.

Type: Primitive          Returns: Boolean

Also Defined At:
| Date | Object | String | Undefined |

o <=

Synopsis:
Ordinal <= aNumber

Description:

Tests if recipient is smaller than or equal to supplied value.

Type: Method          Returns: Boolean

Parameters:

1 - Number

Also Defined At:
| Date | Object | String | Undefined |

o <=

Synopsis:
Double <= aValue

Description:

Tests if recipient is less than or equal to supplied value.

Type: Primitive          Returns: Boolean

Parameters:

1 - Number

Also Defined At:
| Date | Object | String | Undefined |

o <=

Synopsis:
Float <= aValue

Description:

Tests if recipient is less than or equal to supplied value. If an invalid parameter is given, it returns NA.

Type: Primitive          Returns: Boolean

Also Defined At:
| Date | Object | String | Undefined |

o <=

Synopsis:
Integer <= aValue

Description:

Tests if recipient is less than or equal to supplied value.

Type: Primitive          Returns: Boolean

Also Defined At:
| Date | Object | String | Undefined |

o =

Synopsis:
Double = aValue

Description:

Tests if recipient equals the supplied value.

Type: Primitive          Returns: Boolean

Parameters:

1 - Number

Also Defined At:
| Date | DateRange | Object | String |

o =

Synopsis:
Float = aValue

Description:

Tests if recipient equals the supplied value. If an invalid parameter is given, it returns NA.

Type: Primitive          Returns: Boolean

Also Defined At:
| Date | DateRange | Object | String |

o =

Synopsis:
Integer = aValue

Description:

Tests if recipient equals the supplied value.

Type: Primitive          Returns: Boolean

Also Defined At:
| Date | DateRange | Object | String |

o >

Synopsis:
Ordinal > aNumber

Description:

Tests if recipient is larger than supplied value.

Type: Method          Returns: Boolean

Parameters:

1 - Number

Also Defined At:
| Date | Number | Object | String | Undefined |

o >

Synopsis:
Number > aValue

Description:

Tests if recipient Number is greater than supplied value.

Type: Method          Returns: Boolean

Parameters:

1 - Value

Also Defined At:
| Date | Object | String | Undefined |

o >=

Synopsis:
Ordinal >= aNumber

Description:

Tests if recipient is larger than or equal to supplied value.

Type: Method          Returns: Boolean

Parameters:

1 - Number

Also Defined At:
| Date | Number | Object | String | Undefined |

o >=

Synopsis:
Number >= aValue

Description:

Tests if recipient Number is greater than or equal to supplied value. If invalid parameter is supplied, NA is returned.

Type: Method          Returns: Boolean

Parameters:

1 - Value

Also Defined At:
| Date | Object | String | Undefined |

o __asOpenVisionChannel

Synopsis:
Integer __asOpenVisionChannel

Type: Primitive          Returns: Object

Also Defined At:
| String |

o __fixReference

Synopsis:
Double __fixReference

Type: Method          Returns: Object

Also Defined At:
| Date | DateOffset | Object |

o __fixReference

Synopsis:
Float __fixReference

Type: Method          Returns: Object

Also Defined At:
| Date | DateOffset | Object |

o __fixReference

Synopsis:
Integer __fixReference

Type: Method          Returns: Object

Also Defined At:
| Date | DateOffset | Object |

o _integerRefTo:

Synopsis:
Integer _integerRefTo:

Description:

For Internal Use Only.

Type: Primitive          Returns: Object

Parameters:

1 - Undefined

o _nthPOPReferencedBy:

Synopsis:
Integer _nthPOPReferencedBy: pop

Type: Method          Returns: Object

o _packPOPWithSpace:

Synopsis:
Integer _packPOPWithSpace: space

Type: Method          Returns: Object

o _primitiveRefTo:

Synopsis:
Integer _primitiveRefTo:

Description:

For Internal Use Only.

Type: Primitive          Returns: Object

Parameters:

1 - Undefined

o absoluteValue

Synopsis:
Number absoluteValue

Description:

Computes the absolute value of the Number. Non-negative values return unchanged; negative values returned without the negative sign.

Type: Method          Returns: Number

Also Defined At:
| Undefined |

o adjustedMod:

Synopsis:
Integer adjustedMod: aNumber

Description:

Returns the recipient modulo supplied number as a value from 1 to aNumber (instead of mod: which returns a number from 0 to aNumber - 1).

Type: Method          Returns: Number

Parameters:

1 - Number

o arcCosine

Synopsis:
Number arcCosine

Description:

Basic mathematical function.

Type: Method          Returns: Undefined

o arcCosine

Synopsis:
Double arcCosine

Description:

Basic mathematical function.

Type: Primitive          Returns: Undefined

Also Defined At:
| Number |

o arcSine

Synopsis:
Number arcSine

Description:

Basic mathematical function.

Type: Method          Returns: Undefined

o arcSine

Synopsis:
Double arcSine

Description:

Basic mathematical function.

Type: Primitive          Returns: Undefined

Also Defined At:
| Number |

o arcTangent

Synopsis:
Number arcTangent

Description:

Basic mathematical function.

Type: Method          Returns: Double

o arcTangent

Synopsis:
Double arcTangent

Description:

Basic mathematical function.

Type: Primitive          Returns: Double

Also Defined At:
| Number |

o asAPowerOf:

Synopsis:
Number asAPowerOf: baseNumber

Description:

Raises the baseNumber to the recipient Number power (baseNumber ^ recipient).

Type: Method          Returns: Double

Parameters:

1 - Number

Also Defined At:
| Undefined |

o asAPowerOf:

Synopsis:
Double asAPowerOf: aBaseNumber

Description:

Raises supplied number to the recipient power (baseNumber ^recipient).

Type: Primitive          Returns: Double

Parameters:

1 - Number

Also Defined At:
| Number | Undefined |

o asClusterType

Synopsis:
Integer asClusterType

Type: Method          Returns: Object

Also Defined At:
| Undefined |

o asDate

Synopsis:
Number asDate

Description:

Converts the recipient Number into a Date.

Type: Method          Returns: Date

Also Defined At:
| Date | DateOffset | String | Undefined |

o asDate

Synopsis:
Integer asDate

Description:

Converts an Integer into a Date. Assumes recipient is in one of the following forms: YYYYMMDD, YYMMDD, YYMM, YY.

Type: Method          Returns: Date

Also Defined At:
| Date | DateOffset | Number | String | Undefined |

o asDateFromMMDD

Synopsis:
Integer asDateFromMMDD

Description:

Converts an integer in month-day form to a date. Invalid month-day combination returns an NA.

Type: Method          Returns: Date

o asDateFromMMDDYY

Synopsis:
Integer asDateFromMMDDYY

Description:

Converts an integer in month-day-year form to a date. Invalid month-day-year combination returns an NA.

Type: Method          Returns: Date

o asDateFromMMDDYYYY

Synopsis:
Integer asDateFromMMDDYYYY

Description:

Converts an integer in month-day-year form to a date. Invalid month-day-year combination returns an NA.

Type: Method          Returns: Date

o asDateFromMMYY

Synopsis:
Integer asDateFromMMYY

Description:

Converts an integer in month-year format to a date. Invalid month-year combination returns an NA.

Type: Method          Returns: Date

o asDateFromYYMMDD

Synopsis:
Integer asDateFromYYMMDD

Type: Method          Returns: Object

o asDateFromYYYYMM

Synopsis:
Integer asDateFromYYYYMM

Description:

Converts integer to a month-end date where year is represented by the
full four digits. For example:
200012 asDateFromYYYYMM
returns the date 12/31/2000.

Type: Method          Returns: Date

o asDouble

Synopsis:
Double asDouble

Description:

Returns recipient stripped of any extensions.

Type: Primitive          Returns: Double

Also Defined At:
| Undefined |

o asDouble

Synopsis:
Float asDouble

Description:

Converts recipient into a Number of class Double

Type: Primitive          Returns: Double

Also Defined At:
| Undefined |

o asDouble

Synopsis:
Integer asDouble

Description:

Converts recipient into a Number of class Double.

Type: Primitive          Returns: Double

Also Defined At:
| Undefined |

o asFloat

Synopsis:
Double asFloat

Description:

Converts recipient into a Number of class Float.

Type: Primitive          Returns: Float

Also Defined At:
| Undefined |

o asFloat

Synopsis:
Float asFloat

Description:

Returns recipient stripped of any extensions.

Type: Primitive          Returns: Float

Also Defined At:
| Undefined |

o asFloat

Synopsis:
Integer asFloat

Description:

Converts recipient into a Number of class Float.

Type: Primitive          Returns: Float

Also Defined At:
| Undefined |

o asInteger

Synopsis:
Double asInteger

Description:

Converts recipient into a Number of class Integer.

Type: Primitive          Returns: Integer

Also Defined At:
| Date | DateOffset | String | Undefined |

o asInteger

Synopsis:
Float asInteger

Description:

Converts recipient into a Number of class Integer.

Type: Primitive          Returns: Integer

Also Defined At:
| Date | DateOffset | String | Undefined |

o asInteger

Synopsis:
Integer asInteger

Description:

Returns recipient stripped of any extensions.

Type: Primitive          Returns: Integer

Also Defined At:
| Date | DateOffset | String | Undefined |

o asMonthEnd

Synopsis:
Integer asMonthEnd

Description:

Returns month-end date in current year for month represented by recipient.

Type: Method          Returns: Date

Also Defined At:
| Date |

o asMonthEndInYear:

Synopsis:
Integer asMonthEndInYear: aYear

Description:

Returns month-end date in supplied year for month represented by recipient.

Type: Method          Returns: Date

Parameters:

1 - Integer

o asNumber

Synopsis:
Double asNumber

Description:

Returns recipient stripped of any extensions. Same message as 'asDouble'.

Type: Primitive          Returns: Double

Also Defined At:
| String | Undefined |

o asNumber

Synopsis:
Float asNumber

Description:

Returns recipient stripped of any extensions.

Type: Primitive          Returns: Float

Also Defined At:
| String | Undefined |

o asNumber

Synopsis:
Integer asNumber

Description:

Returns recipient stripped of any extensions.

Type: Primitive          Returns: Integer

Also Defined At:
| String | Undefined |

o asObjectSpace

Synopsis:
Integer asObjectSpace

Type: Method          Returns: Object

Also Defined At:
| Undefined |

o asOpenVisionChannel

Synopsis:
Integer asOpenVisionChannel

Type: Method          Returns: Object

Also Defined At:
| String |

o asPOP

Synopsis:
Integer asPOP

Type: Method          Returns: Object

Also Defined At:
| Object | Undefined |

o asPointerTo:

Synopsis:
Double asPointerTo:

Description:

For Internal Use Only.

Type: Primitive          Returns: Object

Parameters:

1 - Undefined

Also Defined At:
| Undefined |

o asPointerTo:

Synopsis:
Float asPointerTo:

Description:

For Internal Use Only.

Type: Primitive          Returns: Object

Parameters:

1 - Undefined

Also Defined At:
| Undefined |

o asPointerTo:

Synopsis:
Integer asPointerTo:

Description:

For Internal Use Only.

Type: Primitive          Returns: Object

Parameters:

1 - Undefined

Also Defined At:
| Undefined |

o asPrimitive

Synopsis:
Integer asPrimitive

Description:

For Internal Use Only.

Type: Method          Returns: Object

o asReferenceTo:

Synopsis:
Integer asReferenceTo:

Description:

For Internal Use Only.

Type: Primitive          Returns: Object

Parameters:

1 - Undefined

o asSelf

Synopsis:
Ordinal asSelf

Description:

Returns the original object.

Type: Primitive          Returns: Ordinal

Also Defined At:
| Block | Boolean | Classification | Collection | Currency | Date | DateOffset | DateRange | Dictionary | Entity | IndexedList | Interface | List | Number | Object | OpenVision | Schema | String | TimeSeries | Undefined | Utility |

o asSelf

Synopsis:
Number asSelf

Description:

Returns the original object.

Type: Primitive          Returns: Number

Also Defined At:
| Block | Boolean | Classification | Collection | Currency | Date | DateOffset | DateRange | Dictionary | Entity | IndexedList | Interface | List | Object | OpenVision | Schema | String | TimeSeries | Undefined | Utility |

o asSelf

Synopsis:
Double asSelf

Description:

Returns the original object.

Type: Primitive          Returns: Double

Also Defined At:
| Block | Boolean | Classification | Collection | Currency | Date | DateOffset | DateRange | Dictionary | Entity | IndexedList | Interface | List | Number | Object | OpenVision | Schema | String | TimeSeries | Undefined | Utility |

o asSelf

Synopsis:
Float asSelf

Description:

Returns the original object.

Type: Primitive          Returns: Float

Also Defined At:
| Block | Boolean | Classification | Collection | Currency | Date | DateOffset | DateRange | Dictionary | Entity | IndexedList | Interface | List | Number | Object | OpenVision | Schema | String | TimeSeries | Undefined | Utility |

o asSelf

Synopsis:
Integer asSelf

Description:

Returns the original object.

Type: Primitive          Returns: Integer

Also Defined At:
| Block | Boolean | Classification | Collection | Currency | Date | DateOffset | DateRange | Dictionary | Entity | IndexedList | Interface | List | Number | Object | OpenVision | Schema | String | TimeSeries | Undefined | Utility |

o asString

Synopsis:
Integer asString

Description:

Converts recipient integer into a string.

Type: Method          Returns: String

Also Defined At:
| Object | String |

o base0CellPositionOf:

Synopsis:
Number base0CellPositionOf: aList

Description:

For Internal Use Only.

Type: Method          Returns: Object

Parameters:

1 - Undefined

o base0CellPositionOf:

Synopsis:
Integer base0CellPositionOf: aList

Description:

For Internal Use Only.

Type: Method          Returns: Object

Parameters:

1 - Undefined

Also Defined At:
| Number |

o base1CellPositionOf:

Synopsis:
Number base1CellPositionOf: aList

Description:

For Internal Use Only.

Type: Method          Returns: Object

Parameters:

1 - Undefined

o base1CellPositionOf:

Synopsis:
Integer base1CellPositionOf: aList

Description:

For Internal Use Only.

Type: Method          Returns: Object

Parameters:

1 - Undefined

Also Defined At:
| Number |

o basicAsDate

Synopsis:
Integer basicAsDate

Description:

Converts an Integer of form (YYYYMMDD) into a Date. Assumes Integer is in the form YYYYMMDD (e.g., 19920922 for September 22, 1992). To construct a date from three numbers, year, month, and day the following approach can be used: (year * 10000 + month * 100 + day) asInteger asDate. See the 'asDate' message for a more general implementation.

Type: Primitive          Returns: Date

Also Defined At:
| Undefined |

o becomeSeekOffsetOf:

Synopsis:
Number becomeSeekOffsetOf: openVisionChannel

Type: Method          Returns: Object

o becomeSeekOffsetOf:

Synopsis:
Integer becomeSeekOffsetOf: openVisionChannel

Type: Method          Returns: Object

Also Defined At:
| Number |

o between:and:

Synopsis:
Ordinal between: anOrdinal1 and: anOrdinal2

Description:

Tests if recipient Ordinal is between supplied Ordinal1 and supplied Ordinal2

Type: Method          Returns: Boolean

Parameters:

1 - String
2 - String

Also Defined At:
| Undefined |

o businessDays

Synopsis:
Integer businessDays

Description:

Converts the recipient into a BusinessDays DateOffset. Used in conjunction with DateRange formation and date arithmetic.

Type: Method          Returns: BusinessDays

o canonicalizedForSort

Synopsis:
Double canonicalizedForSort

Description:

For Internal Use Only.

Type: Primitive          Returns: Object

Also Defined At:
| Object | String |

o canonicalizedForSort

Synopsis:
Float canonicalizedForSort

Description:

For Internal Use Only.

Type: Primitive          Returns: Object

Also Defined At:
| Object | String |

o canonicalizedForSort

Synopsis:
Integer canonicalizedForSort

Description:

For Internal Use Only.

Type: Primitive          Returns: Object

Also Defined At:
| Object | String |

o classDescriptor

Synopsis:
Ordinal classDescriptor

Description:

Reference to the object which describes the class. Class level information is stored here.

Type: Constant          Returns: Object

Also Defined At:
| Block | Boolean | Classification | Collection | Currency | Date | DateOffset | DateRange | Dictionary | Entity | IndexedList | Interface | List | Number | Object | OpenVision | Schema | String | TimeSeries | Undefined | Utility |

o classDescriptor

Synopsis:
Number classDescriptor

Description:

Reference to the object which describes the class. Class level information is stored here.

Type: Constant          Returns: Object

Also Defined At:
| Block | Boolean | Classification | Collection | Currency | Date | DateOffset | DateRange | Dictionary | Entity | IndexedList | Interface | List | Object | OpenVision | Schema | String | TimeSeries | Undefined | Utility |

o classDescriptor

Synopsis:
Double classDescriptor

Description:

Reference to the object which describes the class. Class level information is stored here.

Type: Constant          Returns: Object

Also Defined At:
| Block | Boolean | Classification | Collection | Currency | Date | DateOffset | DateRange | Dictionary | Entity | IndexedList | Interface | List | Number | Object | OpenVision | Schema | String | TimeSeries | Undefined | Utility |

o classDescriptor

Synopsis:
Float classDescriptor

Description:

Reference to the object which describes the class. Class level information is stored here.

Type: Constant          Returns: Object

Also Defined At:
| Block | Boolean | Classification | Collection | Currency | Date | DateOffset | DateRange | Dictionary | Entity | IndexedList | Interface | List | Number | Object | OpenVision | Schema | String | TimeSeries | Undefined | Utility |

o classDescriptor

Synopsis:
Integer classDescriptor

Description:

Reference to the object which describes the class. Class level information is stored here.

Type: Constant          Returns: Object

Also Defined At:
| Block | Boolean | Classification | Collection | Currency | Date | DateOffset | DateRange | Dictionary | Entity | IndexedList | Interface | List | Number | Object | OpenVision | Schema | String | TimeSeries | Undefined | Utility |

o convertFrom:

Synopsis:
Number convertFrom: string

Description:

This message converts the supplied string to an instance of the recipient's class if applicable, returning NA otherwise. The definition at Object will lookup the string in the class' naming dictionary, if defined. The version at String returns the recipient stripped of any extensions. The versions at Number, Integer, Double, and Float convert the recipient to a numeric value if possible. The version at Date converts the recipient to a Date using the 'asDate' message defined at String. The version at Boolean returns TRUE if the recipient contains an upper/lower case combination of 'true' and FALSE if the recipient contains an upper/lower case combination of 'false'. The version at block returns a block containing the string as a message. This message is called by the 'as:' message at String.

Type: Method          Returns: Object

Also Defined At:
| Block | Boolean | Date | Object | String | Undefined |

o convertFrom:

Synopsis:
Double convertFrom: string

Description:

This message converts the supplied string to an instance of the recipient's class if applicable, returning NA otherwise. The definition at Object will lookup the string in the class' naming dictionary, if defined. The version at String returns the recipient stripped of any extensions. The versions at Number, Integer, Double, and Float convert the recipient to a numeric value if possible. The version at Date converts the recipient to a Date using the 'asDate' message defined at String. The version at Boolean returns TRUE if the recipient contains an upper/lower case combination of 'true' and FALSE if the recipient contains an upper/lower case combination of 'false'. The version at block returns a block containing the string as a message. This message is called by the 'as:' message at String.

Type: Method          Returns: Object

Also Defined At:
| Block | Boolean | Date | Number | Object | String | Undefined |

o convertFrom:

Synopsis:
Float convertFrom: string

Description:

This message converts the supplied string to an instance of the recipient's class if applicable, returning NA otherwise. The definition at Object will lookup the string in the class' naming dictionary, if defined. The version at String returns the recipient stripped of any extensions. The versions at Number, Integer, Double, and Float convert the recipient to a numeric value if possible. The version at Date converts the recipient to a Date using the 'asDate' message defined at String. The version at Boolean returns TRUE if the recipient contains an upper/lower case combination of 'true' and FALSE if the recipient contains an upper/lower case combination of 'false'. The version at block returns a block containing the string as a message. This message is called by the 'as:' message at String.

Type: Method          Returns: Object

Also Defined At:
| Block | Boolean | Date | Number | Object | String | Undefined |

o convertFrom:

Synopsis:
Integer convertFrom: string

Description:

This message converts the supplied string to an instance of the recipient's class if applicable, returning NA otherwise. The definition at Object will lookup the string in the class' naming dictionary, if defined. The version at String returns the recipient stripped of any extensions. The versions at Number, Integer, Double, and Float convert the recipient to a numeric value if possible. The version at Date converts the recipient to a Date using the 'asDate' message defined at String. The version at Boolean returns TRUE if the recipient contains an upper/lower case combination of 'true' and FALSE if the recipient contains an upper/lower case combination of 'false'. The version at block returns a block containing the string as a message. This message is called by the 'as:' message at String.

Type: Method          Returns: Object

Also Defined At:
| Block | Boolean | Date | Number | Object | String | Undefined |

o cosine

Synopsis:
Number cosine

Description:

Basic mathematical function.

Type: Method          Returns: Double

o cosine

Synopsis:
Double cosine

Description:

Basic mathematical function.

Type: Primitive          Returns: Double

Also Defined At:
| Number |

o days

Synopsis:
Integer days

Description:

Converts the recipient into a Days DateOffset. Used in conjunction with DateRange formation and date arithmetic.

Type: Method          Returns: Days

o defaultInstance

Synopsis:
Ordinal defaultInstance

Description:

Returns the default instance of the recipient object's class

Type: Constant          Returns: Ordinal

Also Defined At:
| Block | Boolean | Classification | Collection | Currency | Date | DateOffset | DateRange | Dictionary | Entity | IndexedList | Interface | List | Number | OpenVision | Schema | String | TimeSeries | Undefined | Utility |

o defaultInstance

Synopsis:
Number defaultInstance

Description:

Returns the default instance of the recipient object's class

Type: Constant          Returns: Number

Also Defined At:
| Block | Boolean | Classification | Collection | Currency | Date | DateOffset | DateRange | Dictionary | Entity | IndexedList | Interface | List | OpenVision | Schema | String | TimeSeries | Undefined | Utility |

o defaultInstance

Synopsis:
Double defaultInstance

Description:

Returns the default instance of the recipient object's class

Type: Constant          Returns: Double

Also Defined At:
| Block | Boolean | Classification | Collection | Currency | Date | DateOffset | DateRange | Dictionary | Entity | IndexedList | Interface | List | Number | OpenVision | Schema | String | TimeSeries | Undefined | Utility |

o defaultInstance

Synopsis:
Float defaultInstance

Description:

Returns the default instance of the recipient object's class

Type: Constant          Returns: Float

Also Defined At:
| Block | Boolean | Classification | Collection | Currency | Date | DateOffset | DateRange | Dictionary | Entity | IndexedList | Interface | List | Number | OpenVision | Schema | String | TimeSeries | Undefined | Utility |

o defaultInstance

Synopsis:
Integer defaultInstance

Description:

Returns the default instance of the recipient object's class

Type: Constant          Returns: Integer

Also Defined At:
| Block | Boolean | Classification | Collection | Currency | Date | DateOffset | DateRange | Dictionary | Entity | IndexedList | Interface | List | Number | OpenVision | Schema | String | TimeSeries | Undefined | Utility |

o dividedInto:

Synopsis:
Double dividedInto:

Description:

For Internal Use Only.

Type: Primitive          Returns: Object

Parameters:

1 - Undefined

Also Defined At:
| Undefined |

o dividedInto:

Synopsis:
Float dividedInto:

Description:

For Internal Use Only.

Type: Primitive          Returns: Object

Parameters:

1 - Undefined

Also Defined At:
| Undefined |

o dividedInto:

Synopsis:
Integer dividedInto:

Description:

For Internal Use Only.

Type: Primitive          Returns: Object

Parameters:

1 - Undefined

Also Defined At:
| Undefined |

o dropFromString:

Synopsis:
Integer dropFromString: aString

Description:

Drops the recipient number of characters from supplied string. A positive integer drops characters starting at the beginning of the string. A negative number drops characters starting at the end of the string. If you drop more characters than the string contains, a string with 0 characters is returned.

Type: Method          Returns: String

Parameters:

1 - String

o evaluate:

Synopsis:
Integer evaluate: aBlock

Description:

Converts the recipient to a Date and evaluates the supplied block as of this date. If recipient does not convert into a valid date, the block is not evaluated.

Type: Method          Returns: Date

Parameters:

1 - Block

Also Defined At:
| Currency | Date | DateOffset | DateRange |

o exp

Synopsis:
Number exp

Description:

Raises the mathematical constant e (~ 2.7183) to the recipient Number power (i.e., e ^ recipient).

Type: Method          Returns: Double

Also Defined At:
| Undefined |

o exp

Synopsis:
Double exp

Description:

Raises the mathematical constant e (~2.7183) to the recipient power (i.e., e ^ recipient).

Type: Primitive          Returns: Double

Also Defined At:
| Number | Undefined |

o fillFromString:

Synopsis:
Integer fillFromString: aString

Description:

Repeats the characters in the supplied string until a string of the length specified by the recipient is formed. A negative number repeats the pattern from right to left.

Type: Method          Returns: String

Parameters:

1 - String

o getStringFrom:

Synopsis:
Integer getStringFrom: openVisionChannel

Type: Method          Returns: Object

o hyperbolicCosine

Synopsis:
Number hyperbolicCosine

Description:

Basic mathematical function.

Type: Method          Returns: Double

o hyperbolicCosine

Synopsis:
Double hyperbolicCosine

Description:

Basic mathematical function.

Type: Primitive          Returns: Double

Also Defined At:
| Number |

o hyperbolicSine

Synopsis:
Number hyperbolicSine

Description:

Basic mathematical function.

Type: Method          Returns: Double

o hyperbolicSine

Synopsis:
Double hyperbolicSine

Description:

Basic mathematical function.

Type: Primitive          Returns: Double

Also Defined At:
| Number |

o hyperbolicTangent

Synopsis:
Number hyperbolicTangent

Description:

Basic mathematical function.

Type: Method          Returns: Double

o hyperbolicTangent

Synopsis:
Double hyperbolicTangent

Description:

Basic mathematical function

Type: Primitive          Returns: Double

Also Defined At:
| Number |

o inRange:

Synopsis:
Ordinal Ordinal inRange: aList

Description:

Tests if recipient Ordinal is in range specified by aList, where aList contains 2 elements - the start and end of the range (inclusive).

Type: Method          Returns: Boolean

Parameters:

1 - String

o inSet:

Synopsis:
Ordinal inSet: aList

Description:

Tests if recipient Ordinal is included in supplied list.

Type: Method          Returns: Boolean

Parameters:

1 - String

o inputExpression

Synopsis:
Number inputExpression

Description:

Used by DDMS ToolKit to format recipient as input.

Type: Method          Returns: Object

Also Defined At:
| Date | Object |

o instancesAdjacentTo:

Synopsis:
Integer instancesAdjacentTo:

Description:

For Internal Use Only.

Type: Primitive          Returns: Object

Parameters:

1 - Undefined

o isDouble

Synopsis:
Double isDouble

Description:

Returns a TRUE value when sent to any Double.

Type: Constant          Returns: TRUE

Also Defined At:
| Object |

o isFloat

Synopsis:
Float isFloat

Description:

Returns a TRUE value when sent to any Float.

Type: Constant          Returns: TRUE

Also Defined At:
| Object |

o isInteger

Synopsis:
Integer isInteger

Description:

Returns a TRUE value when sent to any Integer.

Type: Constant          Returns: TRUE

Also Defined At:
| Object |

o isNumber

Synopsis:
Number isNumber

Description:

Returns a TRUE value when sent to any Number.

Type: Constant          Returns: TRUE

Also Defined At:
| Object |

o isOrdinal

Synopsis:
Ordinal isOrdinal

Description:

Returns a TRUE value when sent to any Ordinal.

Type: Constant          Returns: TRUE

Also Defined At:
| Object |

o log

Synopsis:
Number log

Description:

Computes the natural log of the recipient Number. Recipient must be positive; the log is undefined for numbers less than or equal to 0.

Type: Method          Returns: Double

Also Defined At:
| Undefined |

o log

Synopsis:
Double log

Description:

Computes the natural log of the recipient. Recipient must be positive; the log is undefined for numbers less than or equal to 0.

Type: Primitive          Returns: Double

Also Defined At:
| Number | Undefined |

o log:

Synopsis:
Number log: aNumber

Description:

Computes the log of the recipient number using supplied base.

Type: Method          Returns: Double

Parameters:

1 - Number

Also Defined At:
| Undefined |

o max:

Synopsis:
Ordinal max: aNumber

Description:

Computes the larger of the supplied value and the recipient Number. If an invalid parameter is supplied, NA is returned.

Type: Method          Returns: Number

Parameters:

1 - Number

Also Defined At:
| Collection | Undefined |

o min:

Synopsis:
Ordinal min: aNumber

Description:

Computes the smaller of the supplied value and the recipient Number. If an invalid parameter is supplied, NA is returned.

Type: Method          Returns: Number

Parameters:

1 - Number

Also Defined At:
| Collection | Undefined |

o mod:

Synopsis:
Integer mod: aValue

Description:

Computes the recipient Integer modulo of the supplied value.

Type: Method          Returns: Integer

Parameters:

1 - Number

Also Defined At:
| Undefined |

o monthBeginnings

Synopsis:
Integer monthBeginnings

Description:

Converts the recipient into a MonthBeginnings DateOffset. Used in conjunction with DateRange formation and date arithmetic.

Type: Method          Returns: DateOffset

o monthEnds

Synopsis:
Integer monthEnds

Description:

Converts the recipient into a MonthEnds DateOffset. Used in conjunction with DateRange formation and date arithmetic.

Type: Method          Returns: DateOffset

o months

Synopsis:
Integer months

Description:

Converts the recipient into a Months DateOffset. Used in conjunction with DateRange formation and date arithmetic.

Type: Method          Returns: DateOffset

o negated

Synopsis:
Number negated

Description:

Multiplies the recipient Number by -1.

Type: Method          Returns: Double

Also Defined At:
| Undefined |

o new

Synopsis:
Ordinal new

Description:

Undefines the 'new' message for Ordinal classes.

Type: Method          Returns: Ordinal

Also Defined At:
| Boolean | Collection | DateRange | Dictionary | Object | Undefined |

o notBetween:and:

Synopsis:
Ordinal notBetween: anOrdinal1 and: anOrdinal2

Description:

Tests if recipient Ordinal is not between supplied Ordinal1 and supplied Ordinal2.

Type: Method          Returns: Boolean

Parameters:

1 - String
2 - String

Also Defined At:
| Undefined |

o numberOfDigits

Synopsis:
Integer numberOfDigits

Description:

Computes the number of digits in the recipient.

Type: Method          Returns: Integer

Also Defined At:
| Undefined |

o orderUsingDictionary:

Synopsis:
Double orderUsingDictionary:

Description:

For Internal Use Only.

Type: Primitive          Returns: Object

Parameters:

1 - Undefined

Also Defined At:
| Object | String |

o orderUsingDictionary:

Synopsis:
Float orderUsingDictionary:

Description:

For Internal Use Only.

Type: Primitive          Returns: Object

Parameters:

1 - Undefined

Also Defined At:
| Object | String |

o orderUsingDictionary:

Synopsis:
Integer orderUsingDictionary:

Description:

For Internal Use Only.

Type: Primitive          Returns: Object

Parameters:

1 - Undefined

Also Defined At:
| Object | String |

o pctChangeTo:

Synopsis:
Number pctChangeTo: aNumber

Description:

Computes the percentage change between the recipient and supplied Number. Uses the formula: (recipient / supplied Value - 1 ) * 100. If supplied parameter is 0, NA is returned.

Type: Method          Returns: Number

Parameters:

1 - Number

Also Defined At:
| Undefined |

o prefixWith:

Synopsis:
Integer prefixWith: aString

Description:

For Internal Use Only.

Type: Method          Returns: Object

Parameters:

1 - Undefined

Also Defined At:
| String |

o print

Synopsis:
Double print

Description:

Redefines the standard print message so that the value of the number is printed. The default print format for doubles is 9 character positions with two decimal places. The format is expanded if more space is needed.

Type: Primitive          Returns: Double

Also Defined At:
| Block | Date | DateOffset | DateRange | Entity | IndexedList | List | Object | String | TimeSeries | Undefined |

o print

Synopsis:
Float print

Description:

Redefines the standard print message so that the value of the number is printed. The default format for floats is 9 character positions with two decimal places. The format is expanded if more space is needed.

Type: Primitive          Returns: Float

Also Defined At:
| Block | Date | DateOffset | DateRange | Entity | IndexedList | List | Object | String | TimeSeries | Undefined |

o print

Synopsis:
Integer print

Description:

Redefines the standard print message so that the value of the recipient Integer is printed. The default print format for integers is 9 character positions with no decimal places. The format is expanded if more space is needed.

Type: Primitive          Returns: Integer

Also Defined At:
| Block | Date | DateOffset | DateRange | Entity | IndexedList | List | Object | String | TimeSeries | Undefined |

o print:

Synopsis:
Number print: aNumber

Description:

Prints the recipient Number using the supplied format. If no decimal is provided in the format, the default value of 2 decimal places is used. When integers are printed, the decimal specification will be ignored. If the specification width is not large enough, **** will be displayed instead of the value.

Type: Method          Returns: Number

Parameters:

1 - Number

Also Defined At:
| Boolean | Date | Entity | Object | String | Undefined |

o printOf:

Synopsis:
Double printOf:

Description:

For Internal Use Only.

Type: Primitive          Returns: Object

Parameters:

1 - Undefined

Also Defined At:
| Object |

o printOf:

Synopsis:
Float printOf: anObject

Description:

For Internal Use Only.

Type: Method          Returns: Object

Parameters:

1 - Undefined

Also Defined At:
| Object |

o printOf:

Synopsis:
Integer printOf:

Description:

For Internal Use Only.

Type: Primitive          Returns: Object

Parameters:

1 - Undefined

Also Defined At:
| Object |

o printWithCommas:

Synopsis:
Number printWithCommas: aNumber

Description:

Prints the Number using the supplied format, inserting commas where appropriate. If no decimal is provided in the format, the default value of 2 decimal places is used. When integers are printed, the decimal specification will be ignored. If the specification width is not large enough, **** will be displayed instead of the value.

Type: Method          Returns: Number

Parameters:

1 - Number

Also Defined At:
| Object |

o printWithCommasOf:

Synopsis:
Double printWithCommasOf:

Description:

For Internal Use Only.

Type: Primitive          Returns: Object

Parameters:

1 - Undefined

o printWithCommasOf:

Synopsis:
Float printWithCommasOf: anObject

Description:

For Internal Use Only.

Type: Method          Returns: Object

Parameters:

1 - Undefined

o printWithCommasOf:

Synopsis:
Integer printWithCommasOf:

Description:

For Internal Use Only.

Type: Primitive          Returns: Object

Parameters:

1 - Undefined

o printWithLeadingZeros:

Synopsis:
Number printWithLeadingZeros: width

Description:

Displays the recipient with leading 0s to fill out the supplied width if width is positive. If width is negative, no padding is done.

Type: Method          Returns: Number

Parameters:

1 - Number

Also Defined At:
| Undefined |

o printWithLeadingZerosNL:

Synopsis:
Number printWithLeadingZerosNL: width

Description:

Displays the recipient with leading 0s to fill out the supplied width followed by a new line if width is positive. If width is negative, no padding is done.

Type: Method          Returns: Number

Parameters:

1 - Number

Also Defined At:
| Undefined |

o putByteTo:

Synopsis:
Number putByteTo: openVisionChannel

Type: Method          Returns: Object

o putByteTo:

Synopsis:
Integer putByteTo:

Type: Primitive          Returns: Object

Also Defined At:
| Number |

o putDoubleTo:

Synopsis:
Number putDoubleTo: openVisionChannel

Type: Method          Returns: Object

o putDoubleTo:

Synopsis:
Double putDoubleTo:

Type: Primitive          Returns: Object

Also Defined At:
| Number |

o putFloatTo:

Synopsis:
Number putFloatTo: openVisionChannel

Type: Method          Returns: Object

o putFloatTo:

Synopsis:
Float putFloatTo:

Type: Primitive          Returns: Object

Also Defined At:
| Number |

o putLongTo:

Synopsis:
Number putLongTo: openVisionChannel

Type: Method          Returns: Object

o putLongTo:

Synopsis:
Integer putLongTo:

Type: Primitive          Returns: Object

Also Defined At:
| Number |

o putShortTo:

Synopsis:
Number putShortTo: openVisionChannel

Type: Method          Returns: Object

o putShortTo:

Synopsis:
Integer putShortTo:

Type: Primitive          Returns: Object

Also Defined At:
| Number |

o quarterBeginnings

Synopsis:
Integer quarterBeginnings

Description:

Converts the recipient into a QuarterBeginnings DateOffset. Used in conjunction with DateRange formation and date arithmetic.

Type: Method          Returns: DateOffset

o quarterEnds

Synopsis:
Integer quarterEnds

Description:

Converts the recipient into a QuarterEnds DateOffset. Used in conjunction with DateRange formation and date arithmetic.

Type: Method          Returns: DateOffset

o quarters

Synopsis:
Integer quarters

Description:

Converts the recipient into a Quarterrs DateOffset. Used in conjunction with DateRange formation and date arithmetic.

Type: Method          Returns: DateOffset

o round

Synopsis:
Number round

Description:

Rounds the Number to the nearest integer.

Type: Method          Returns: Integer

Also Defined At:
| Undefined |

o round:

Synopsis:
Number round: anInteger

Description:

Rounds the Number to the specified number of decimal places. Supplied integer must be non-negative.

Type: Method          Returns: Number

Parameters:

1 - Integer

Also Defined At:
| Undefined |

o sequence

Synopsis:
Number sequence

Description:

Returns a list of integers from 1 through recipient Number.

Type: Method          Returns: List

o sequence

Synopsis:
Integer sequence

Description:

Returns a list of integers from 1 through recipient Integer.

Type: Primitive          Returns: List

Also Defined At:
| Number |

o sequence0

Synopsis:
Number sequence0

Description:

Returns a list of integets from 0 through recipient minus 1.

Type: Method          Returns: List

o sequence0

Synopsis:
Integer sequence0

Description:

Returns a list of integers from 0 through recipient Integer minus 1.

Type: Primitive          Returns: List

Also Defined At:
| Number |

o sequenceTo:

Synopsis:
Integer sequenceTo: endNumber

Description:

Returns a list of integers from recipient value to the supplied end number. If the supplied paramter is not a number, 0 will be used as the end-point.

Type: Method          Returns: List

o sign

Synopsis:
Number sign

Description:

Returns the value -1, 0, or 1, depending on the sign of the recipient.

Type: Method          Returns: Integer

o sine

Synopsis:
Number sine

Description:

Basic mathematical function.

Type: Method          Returns: Double

o sine

Synopsis:
Double sine

Description:

Basic mathematical function.

Type: Primitive          Returns: Double

Also Defined At:
| Number |

o sprint:

Synopsis:
Number sprint: aNumber

Description:

Returns the recipient number as a string formatted to the number of characters specified.

Type: Method          Returns: String

Parameters:

1 - Number

Also Defined At:
| Object | String | Undefined |

o sprintOf:

Synopsis:
Double sprintOf:

Description:

For Internal Use Only.

Type: Primitive          Returns: Object

Parameters:

1 - Undefined

o sprintOf:

Synopsis:
Float sprintOf: anObject

Description:

For Internal Use Only.

Type: Method          Returns: Object

Parameters:

1 - Undefined

o sprintOf:

Synopsis:
Integer sprintOf:

Description:

For Internal Use Only.

Type: Primitive          Returns: Object

Parameters:

1 - Undefined

o sprintWithCommas:

Synopsis:
Number sprintWithCommas: aNumber

Description:

Returns the recipient number as a string formatted to the number of characters specified, inserting commas as appropriate.

Type: Method          Returns: String

Parameters:

1 - Number

o sprintWithCommasOf:

Synopsis:
Double sprintWithCommasOf:

Description:

For Internal Use Only.

Type: Primitive          Returns: Object

Parameters:

1 - Undefined

o sprintWithCommasOf:

Synopsis:
Float sprintWithCommasOf: anObject

Description:

For Internal Use Only.

Type: Method          Returns: Object

Parameters:

1 - Undefined

o sprintWithCommasOf:

Synopsis:
Integer sprintWithCommasOf:

Description:

For Internal Use Only.

Type: Primitive          Returns: Object

Parameters:

1 - Undefined

o sqrt

Synopsis:
Number sqrt

Description:

Returns the square root of the recipient Number.

Type: Method          Returns: Double

Also Defined At:
| Undefined |

o sqrt

Synopsis:
Double sqrt

Description:

Returns the square root of the recipient. Recipient must be a non-negative Double.

Type: Primitive          Returns: Double

Also Defined At:
| Number | Undefined |

o subtractedFrom:

Synopsis:
Double subtractedFrom:

Description:

For Internal Use Only.

Type: Primitive          Returns: Object

Parameters:

1 - Undefined

Also Defined At:
| DateOffset | Undefined |

o subtractedFrom:

Synopsis:
Float subtractedFrom:

Description:

For Internal Use Only.

Type: Primitive          Returns: Object

Parameters:

1 - Undefined

Also Defined At:
| DateOffset | Undefined |

o subtractedFrom:

Synopsis:
Integer subtractedFrom:

Description:

For Internal Use Only.

Type: Primitive          Returns: Object

Parameters:

1 - Undefined

Also Defined At:
| DateOffset | Undefined |

o takeFromString:

Synopsis:
Integer takeFromString: aString

Description:

Keeps the recipient number of characters from supplied string. A positive number keeps characters starting at the beginning of the string. A negative number keeps characters starting at the end of the string. If you keep more characters than the string contains, blanks will be added to the beginning or end of the string.

Type: Method          Returns: String

Parameters:

1 - String

o tangent

Synopsis:
Number tangent

Description:

Basic mathematical function.

Type: Method          Returns: Double

o tangent

Synopsis:
Double tangent

Description:

Basic mathematical function.

Type: Primitive          Returns: Double

Also Defined At:
| Number |

o to:by:

Synopsis:
Integer to: aDate by: aDateOffset

Description:

Converts the recipient into a date, then constructs a date range from this date, the supplied date, and the the supplied increment.

Type: Method          Returns: DateRange

Parameters:

1 - Date
2 - DateOffset

Also Defined At:
| Date |

o toThe:

Synopsis:
Number toThe: aNumber

Description:

Raises the recipient Number to the specified power.

Type: Method          Returns: Double

Parameters:

1 - Number

Also Defined At:
| Undefined |

o toThe:

Synopsis:
Double toThe: aValue

Description:

Raises the recipient to the specified power.

Type: Primitive          Returns: Double

Parameters:

1 - Number

Also Defined At:
| Number | Undefined |

o whatAmI

Synopsis:
Ordinal whatAmI

Description:

Returns the string 'Ordinal'.

Type: Constant          Returns: String

Also Defined At:
| Block | Boolean | Classification | Collection | Currency | Date | DateOffset | DateRange | Dictionary | Entity | IndexedList | Interface | List | Number | Object | OpenVision | Schema | String | TimeSeries | Undefined | Utility |

o whatAmI

Synopsis:
Number whatAmI

Description:

Returns the string 'Number'.

Type: Constant          Returns: String

Also Defined At:
| Block | Boolean | Classification | Collection | Currency | Date | DateOffset | DateRange | Dictionary | Entity | IndexedList | Interface | List | Object | OpenVision | Schema | String | TimeSeries | Undefined | Utility |

o whatAmI

Synopsis:
Double whatAmI

Description:

Returns the string 'Double'.

Type: Constant          Returns: String

Also Defined At:
| Block | Boolean | Classification | Collection | Currency | Date | DateOffset | DateRange | Dictionary | Entity | IndexedList | Interface | List | Number | Object | OpenVision | Schema | String | TimeSeries | Undefined | Utility |

o whatAmI

Synopsis:
Float whatAmI

Description:

Returns the string 'Float'.

Type: Constant          Returns: String

Also Defined At:
| Block | Boolean | Classification | Collection | Currency | Date | DateOffset | DateRange | Dictionary | Entity | IndexedList | Interface | List | Number | Object | OpenVision | Schema | String | TimeSeries | Undefined | Utility |

o whatAmI

Synopsis:
Integer whatAmI

Description:

Returns the string 'Integer'.

Type: Constant          Returns: String

Also Defined At:
| Block | Boolean | Classification | Collection | Currency | Date | DateOffset | DateRange | Dictionary | Entity | IndexedList | Interface | List | Number | Object | OpenVision | Schema | String | TimeSeries | Undefined | Utility |

o within:percentOf:

Synopsis:
Number within: x percentOf: y

Description:

Computes whether the recipient number is within x percent of the value y. This message builds a closed interval around y and tests to see if x falls in that range.

Type: Method          Returns: Boolean

Parameters:

1 - Number
2 - Number

Also Defined At:
| Undefined |

o yearBeginnings

Synopsis:
Integer yearBeginnings

Description:

Converts the recipient into a YearBeginnings DateOffset. Used in conjunction with DateRange formation and date arithmetic.

Type: Method          Returns: DateOffset

o yearEnds

Synopsis:
Integer yearEnds

Description:

Converts the recipient into a YearEnds DateOffset. Used in conjunction with DateRange formation and date arithmetic.

Type: Method          Returns: DateOffset

o years

Synopsis:
Integer years

Description:

Converts the recipient into a Years DateOffset. Used in conjunction with DateRange formation and date arithmetic.

Type: Method          Returns: DateOffset