Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. value = 0
  2. base = 1
  3. for every character c in numeric_string (iterate in backwards)
  4. var d = digitValueOf(c)
  5. value = value + d * base
  6. base = base * radix
  7. end for
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement