Next Previous Up Top Contents Index

2.6 The COMMON-EXTENSIONS module

integer-to-string

Function

Summary

Returns a string representation of an integer.

Signature

integer-to-string integer #key base size fill => string 

Arguments

integer
An instance of <integer>.

base
An instance of <integer>. Default value: 10.

size
An instance of <integer> or #f. Default value: #f.

fill
An instance of <character>. Default value: 0.

Values

string
An instance of <byte-string>.

Library

common-extensions

Module

common-extensions

Description

Returns a string representation of integer in the given base, which must be between 2 and 36. The size of the string is right-aligned to size if size is not #f, and it is filled with the fill character. If the string is already larger than size then it is not truncated.


Common Dylan and Functional Extensions - 31 Mar 00

Next Previous Up Top Contents Index