format   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/base/base.xtm

Implementation

(bind-func format
  (lambda (x:double)
    (let ((str:i8* (salloc 256)))
      (sprintf str "%f" x)
      (String str))))


Back to Index

Similar Entries