Post Reply 
Question about string conversion shortcut...
10-17-2017, 03:09 AM
Post: #1
Question about string conversion shortcut...
I've seen programs use the following:

T:=""+V;

instead of:

T:=STRING(V);

to convert V to a string from a numerical value inside a program.

The first version seems to work. I'm wondering, is it faster than the latter? Anyone know?
Thanks
-Donald
Find all posts by this user
Quote this message in a reply
10-17-2017, 05:24 AM
Post: #2
RE: Question about string conversion shortcut...
Hello,

The STRING() version will be faster and take less RAM.

Cyrille

Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP.
Find all posts by this user
Quote this message in a reply
10-17-2017, 08:19 AM
Post: #3
RE: Question about string conversion shortcut...
Thanks....good to know.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: