Please enable JavaScript to view this site.

 

str = IntToStr(nAnyNumber)

 

This macro function changes an integer into a string. The most common use is to set the value of sRESULT to the result of some numerical calculation.

nDaysTilXmas = EncodeDate(2020,12,25) - Today()
sRESULT = IntToStr(nDaysTilXmas) + ' days til Christmas'

See also: StrToInt, FormatDate, FormatNumber.

 


Topic 108261, last updated on 18-Apr-2020