summaryrefslogtreecommitdiff
path: root/Numerical_Methods_by_E_Balaguruswamy/CH3/EX3.2/Ex3_2.R
blob: 617ac2bcfe4ed39a92bc762101605f5600554ba5 (plain)
1
2
3
4
5
6
# Example 2     Chapter 3        Page no.: 46
# COnversion of Hexadecimal number to Decimal number

x<-'12af' #input value
a<-strtoi(x,16L)
cat("The Hex number 12AF is",a,"in Decimal system")