Unit 'Classes' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TParser.FloatType

The type of a float token.

Declaration

Source position: classesh.inc line 2216

public property TParser.FloatType : char
  read fFloatType;

Description

Floating point numbers can be postfixed with a character specifying the type of floating point value. When specified, this property holds the character postfixed to the number.

It can be one of the following values:

s or S Value is a single.
c or C Value is a currency.
d or D Value is a date.

If Token isn't toFloat or one of the above characters wasn't specified, FloatType is the null character (zero).

See also

TParser.NextToken

  

Reads the next token and returns its type.

TParser.Token

  

The type of the current token.

TParser.TokenFloat

  

Returns the current token as a float.

toFloat

  

Value returned by TParser.Token when a floating point value was found in the input stream.


Documentation generated on: Dec 27 2024