(1) AngelScript has a built-in (i.e. I didn't write it) function formatInt which does what you're looking for and can output in a variety of formats. Search the documentation for details.
(2) There's no direct way of accessing input in the most recent release, but it'll turn up later. "Player-Guided Missile" on J2O is an example of indirectly testing the left and right arrow keys (or A/D or whatever the player happens to be using).
__________________
|