This method returns the decimal conversion of a hexstring value.
X2D(value)
value − This is the hexadecimal value which needs to be converted to a decimal value.
This method returns the decimal conversion of a hexstring value.
/* Main program */ say X2D("0E") say X2D("725") say X2D("F725") say X2D("FF725")
When we run the above program we will get the following result.
14 1829 63269 1046309