Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- value = 0
- base = 1
- for every character c in numeric_string (iterate in backwards)
- var d = digitValueOf(c)
- value = value + d * base
- base = base * radix
- end for
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement