Post Reply 
Bug or Not? Taking STRING of a string whilst making leading zeros
01-30-2018, 08:16 PM (This post was last modified: 01-30-2018 08:17 PM by Didier Lachieze.)
Post: #9
RE: Bug or Not? Taking STRING of a string whilst making leading zeros
Here is a version without the limitation of NZ<12:
Code:
EXPORT NZEROS(NZ)
BEGIN
 RETURN CAS("tail(string(10^NZ))");
END;

(01-30-2018 02:28 PM)Joe Horn Wrote:  Warning #2: In CAS programs, be sure to use the newer, smarter function STRING(), not its older, dumber sibling string(). Thankfully, Home always uses STRING().
What's the difference between the two functions?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Bug or Not? Taking STRING of a string whilst making leading zeros - Didier Lachieze - 01-30-2018 08:16 PM



User(s) browsing this thread: 2 Guest(s)