![]() |
![]()
| ![]() |
![]()
NAMEDeclare::Constraints::Simple::Library::Numerical - Numerical Constraints SYNOPSIS# test for number-conformity my $looks_like_number = IsNumber; # only integers my $is_int = IsInt; DESCRIPTIONSThis library contains the constraints needed to validate numerical values. CONSTRAINTSIsNumber()True if the value is a number according to Scalar::Utils "looks_like_number". IsInt()True if the value is an integer. SEE ALSODeclare::Constraints::Simple, Declare::Constraints::Simple::Library AUTHORRobert 'phaylon' Sedlacek "<phaylon@dunkelheit.at>" LICENSE AND COPYRIGHTThis module is free software, you can redistribute it and/or modify it under the same terms as perl itself.
|