---
name: "Badger::Data::Facet::Number"
section: "3pm"
platform: "linux"
package: "libbadger-perl"
version: "0.16-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Badger::Data::Facet::Number"
---

# Badger::Data::Facet::Number(3pm)

base class for numerical validation facets

## NAME

Badger::Data::Facet::Number - base class for numerical validation facets

## DESCRIPTION

This module implements a base class for numerical validation facets.

## METHODS

This module implements the following methods in addition to those inherited from the Badger::Data::Facet and Badger::Base base classes.

### validate($value\_ref)

Asserts that the `$value` passed by reference as an argument is a number.

## AUTHOR

Andy Wardley \<http://wardley.org/\>

## COPYRIGHT

Copyright (C) 2008-2012 Andy Wardley.  All Rights Reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

## SEE ALSO

Badger::Base, Badger::Data::Facet.
