![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Section contents
cdescriptor.oxh
<TBS>
Class | Des |
---|---|
Construction | NewRealFormat DeleteRealFormat |
Methods | Places Point SetPlaces SetPoint SetTriad SetTriLen SetType SetWidth Triad TriLen Type Width |
DesAppendNumFloat, DesNumFloat
this& = NewRealFormat&:
Creates a real format object and returns a handle which allows the object to be manipulated.
this& |
An value which represents the created real format object |
If the object could not be created then an error is generated
which should be trapped by an ONERR
handler.
LOCAL this& this& = NewRealFormat&: DeleteRealFormat:(this&)
DeleteRealFormat:(BYREF this&)
Destroys the real format object.
this& |
A handle to a real format object |
LOCAL this& this& = NewRealFormat&: DeleteRealFormat:(this&)
places& = RealFormatPlaces&:(this&)
Returns the number of characters that represent the decimal portion of the number, or the maximum number of significant digits. The interpretation depends in the format defined by RealFormatSetType:().
this& |
A handle to a real format object |
places& |
The number of characters that represent the decimal
portion of the number, or The maximum number of significant digits. |
point% = RealFormatPoint%:(this&)
The characters used to defined the decimal point.
this& |
A handle to a real format object |
point% |
The character used to representation the decimal point |
RealFormatSetPlaces:(this&,places&)
<TBS>
this& |
A handle to a real format object |
places& |
<TBS> |
RealFormatSetPoint:(this&,point&)
<TBS>
this& |
A handle to a real format object |
point& |
<TBS> |
RealFormatSetTriad:(this&,triad%)
<TBS>
this& |
A handle to a real format object |
triad% |
<TBS> |
RealFormatSetTriLen:(this&,len&)
<TBS>
this& |
A handle to a real format object |
len& |
<TBS> |
RealFormatSetType:(this&,type&)
<TBS>
this& |
A handle to a real format object |
type& |
<TBS> |
RealFormatSetWidth:(this&,width&)
<TBS>
this& |
A handle to a real format object |
width& |
<TBS> |
triad% = RealFormatTriad%:(this&)
The character used to separated ever three characters in the integer part of the number.
this& |
A handle to a real format object |
triad% |
Character used as the thousand separator |
trilen& = RealFormatTriLen&:(this&)
<TBS>
this& |
A handle to a real format object |
trilen& |
The number of characters before using the Triad character |
type& = RealFormatType&:(this&)
<TBS>
this& |
A handle to a real format object |
type& |
<TBS> |
width& = RealFormatWidth&:(this&)
The maximum number of characters used to represent the number.
this& |
A handle to a real format object |
width& |
The maximum number of characters used to represent the number |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |