If you're just starting with Axe, I'd highly recommend reading the included
Documentation.pdf file (also available online
here). Although it's a bit outdated and doesn't cover more advanced commands and techniques, it can provide a good base understanding of the language.
This happens to include the answer to your problem on page 9, which explains that you have to append the
▶Dec token to a value to display it as a number. For your example, you'd want to use
Text(0,0,A▶Dec). And the next page explains when and how to use the display commands without the
▶Dec modifier, which may give you a rough understanding of where the garbage you saw is coming from.
I'd also highly suggest perusing through the included
Commands.html file (also available online
here) once you feel you have a working understanding of the language basics. Although it doesn't explain things as fully as the documentation does or provide examples, it
is kept completely up to date and briefly documents every command available in Axe.