1PPI::Token::Number::FloUaste(r3)Contributed Perl DocumenPtPaIt:i:oTnoken::Number::Float(3)
2
3
4
6 PPI::Token::Number::Float - Token class for a floating-point number
7
9 $n = 1.234;
10
12 PPI::Token::Number::Float
13 isa PPI::Token::Number
14 isa PPI::Token
15 isa PPI::Element
16
18 The "PPI::Token::Number::Float" class is used for tokens that represent
19 floating point numbers. A float is identified by n decimal point.
20 Exponential notation (the "e" or "E") is handled by the
21 PPI::Token::Number::Exp class.
22
24 base
25 Returns the base for the number: 10.
26
27 literal
28 Return the numeric value of this token.
29
31 See the support section in the main module.
32
34 Chris Dolan <cdolan@cpan.org>
35
37 Copyright 2006 Chris Dolan.
38
39 This program is free software; you can redistribute it and/or modify it
40 under the same terms as Perl itself.
41
42 The full text of the license can be found in the LICENSE file included
43 with this module.
44
45
46
47perl v5.36.0 2023-01-20 PPI::Token::Number::Float(3)