Author image Peter John Acklam

NAME

Math::BigInt::Named::English - Math::BigInts that know their name in English

SYNOPSIS

    use Math::BigInt::Named::English;

    $x = Math::BigInt::Named::English -> new("123");
    $str = $x -> name();

    $str = "ett hundre og to";
    $x = Math::BigInt::Named::English -> from_name($str);

DESCRIPTION

This is a subclass of Math::BigInt and adds support for named numbers with their name in English to Math::BigInt::Named.

Usually you do not need to use this directly, but rather go via Math::BigInt::Named.

METHODS

name()

    print Math::BigInt::Name -> name( 123 );

Convert a BigInt to a name.

from_name()

    my $bigint = Math::BigInt::Name -> from_name('twenty-four');

Create a Math::BigInt::Name from a name string. Not yet implemented!

BUGS

For information about bugs and how to report them, see the BUGS section in the documentation available with the perldoc command.

    perldoc Math::BigInt::Named

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Math::BigInt::Named::English

For more information, see the SUPPORT section in the documentation available with the perldoc command.

    perldoc Math::BigInt::Named

LICENSE

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

SEE ALSO

Math::BigInt::Named and Math::BigInt.

AUTHORS

  • Peter John Acklam <pjacklam@gmail.com>, 2021.