![]() |
VOOZH | about |
Math::BigInt module in Perl provides objects that represent integers with arbitrary precision and overloaded arithmetical operators.
from_hex() method of Math::BigInt module is used to convert the hexadecimal number passed as input to its corresponding decimal number.
Syntax: Math::BigInt->from_hex()
Parameter: input hexadecimal number to be converted
Returns: a corresponding decimal number of the passed hexadecimal number
Example 1:
1000 55130
Example 2:
-1000 -55130