fixed number decoder