The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Unicode::Number::System - representation of a number system

VERSION

version 0.002

SYNOPSIS

  use Unicode::Number;

  my $u = Unicode::Number->new;
  # print out all the number systems
  say join "\n", map { $_->name } @{ $u->number_systems };

DESCRIPTION

This class is the representation of a number system that can be used for conversion by Unicode::Number. The list of number systems supported is given by the number_systems of Unicode::Number.

ATTRIBUTES

name

Returns a string for the libuninum name of the number system.

convertible_in_both_directions

Returns a boolean.

If true, then the number system can be used to convert from strings to numbers and from numbers to strings (in libuninum terminology: "specific number systems").

If false, then the number system can only be used to convert strings to numbers. (in libuninum terminology: "cover terms").

AUTHOR

Zakariyya Mughal <zmughal@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Zakariyya Mughal.

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