BCDFraction

constructor(Value: BCDFraction)

create new fraction

Parameters

Value

value to copy


constructor(Whole: BCDInteger)
constructor(Whole: Long)

create new fraction

Parameters

Whole

The whole part of the number


constructor(Numerator: BCDInteger, Denominator: BCDInteger)

create new fraction

Parameters

Numerator

The numerator

Denominator

The denominator


constructor(Whole: Long, Numerator: Long, Denominator: Long)
constructor(Whole: Number, Numerator: Number, Denominator: BCDInteger)

create new fraction

Parameters

Whole

The whole part of the number

Numerator

The numerator

Denominator

The denominator


constructor(Text: String)

create new fraction from a string

Parameters

Text

A String of the type "999" or “999/999” or "999 999/999"