Returns the current token as a float.
Source position: classesh.inc line 2210
public function TParser.TokenFloat: Extended; |
If current token type is toFloat, this method returns the token value as a float.
To specify a negative number, no space must exist between unary minus and number.
Floating point numbers can be postfixed with a character that specifies the floating point type. See FloatType for further information.
Remark: | In the input stream the decimal separator, if present, must be a dot (.). |
If Token isn't toFloat, an EParserError exception is raised.
|
The type of a float token. |
|
|
Reads the next token and returns its type. |
|
|
The type of the current token. |
|
|
Value returned by TParser.Token when a floating point value was found in the input stream. |