PPI::Token::Number::Float(3pm)

PPI::Token::Number::Float3pm

Token class for a floating-point number

Usage

  $n = 1.234;

Inheritance

  PPI::Token::Number::Float
  isa PPI::Token::Number
      isa PPI::Token
          isa PPI::Element

Overview

The "PPI::Token::Number::Float" class is used for tokens that represent floating point numbers. A float is identified by n decimal point. Exponential notation (the "e" or "E") is handled by the PPI::Token::Number::Exp class.

Methods

base

Returns the base for the number: 10.

literal

Return the numeric value of this token.

Support

See the support section in the main module.

Releases

10 releases since Debian 5.0 (Lenny); the text changed 9 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11
  8. 12
  9. 13
  10. Arch

Author

Chris Dolan <[email protected]>

From perl-ppi 1.291-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.