converting number to string in lisp -


i tried find lisp function convert between numbers , strings , after little googling fond function same name. when entered (itoa 1) slime printed:

undefined function itoa called arguments (1) . 

how can conversion?

from number string:

(write-to-string 5) "5" 

you may transform string numerical notation:

(write-to-string 341 :base 10) "341" 

from string number:

(parse-integer "5") 5 

with trash

(parse-integer " 5 not number" :junk-allowed t) 5 

or use this:

(read-from-string "23 absd") 23 

Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -