Dashboard
PHP:
8.1.34
OS:
Linux
User:
uid288609
/
/
usr
/
share
/
perl5
/
PDF
/
API2
/
Basic
/
PDF
ðĪ Upload
ð New File
ð New Folder
Close
Editing: Number.pm
#======================================================================= # # THIS IS A REUSED PERL MODULE, FOR PROPER LICENCING TERMS SEE BELOW: # # Copyright Martin Hosken <Martin_Hosken@sil.org> # # No warranty or expression of effectiveness, least of all regarding # anyone's safety, is implied in this software or documentation. # # This specific module is licensed under the Perl Artistic License. # #======================================================================= package PDF::API2::Basic::PDF::Number; use base 'PDF::API2::Basic::PDF::String'; use strict; our $VERSION = '2.038'; # VERSION =head1 NAME PDF::API2::Basic::PDF::Number - Numbers in PDF. Inherits from L<PDF::API2::Basic::PDF::String> =head1 METHODS =head2 $n->convert($str) Converts a string from PDF to internal, by doing nothing =cut sub convert { return $_[1]; } =head2 $n->as_pdf Converts a number to PDF format =cut sub as_pdf { return $_[0]->{'val'}; } 1;
Save
Cancel