Why not adopt me?
This distribution is up for adoption!
If you're interested then please contact the PAUSE module admins via
email.
NAME
Log::Parallel::Sql::Numbers - force values to be numbers
SYNOPSIS
$integer
= integer(
$scalar
,
$default
)
$float
= float(
$scalar
,
$default
)
DESCRIPTION
These simple functions make sure that a scalar is in fact a number. Non-numbers, including nan
will be turned into the default.
This is useful if you want to hand an unknown value to a database.
LICENSE
This package may be used and redistributed under the terms of either the Artistic 2.0 or LGPL 2.1 license.