Page 1 of 1
AsDisplaystring
Posted: Fri Mar 24, 2017 9:45 am
by soa
I've noticed that a packed number (5,2) has an intrinsic of AsDisplayString, this has parameters of BareString_L...., EditString_ & NumString..
I can't find any documentation of these values online. What do they do?
Re: AsDisplaystring
Posted: Fri Mar 24, 2017 1:14 pm
by Stewart Marshall
Re: AsDisplaystring
Posted: Fri Mar 24, 2017 1:16 pm
by BrendanB
Jim,
Try here:
http://docs.lansa.com/14/EN/LANSA016/PR ... String.htm
Packed strings use the same intrinsic logic as for FixedPointIntrinsics.asDisplayString.
Essentially, this will allow you to format the number using the various options (see the link for details).
B.
Re: AsDisplaystring
Posted: Fri Mar 24, 2017 3:03 pm
by soa
Thanks guys, I was looking in the Technical Reference Guide.
Re: AsDisplaystring
Posted: Fri Mar 24, 2017 3:15 pm
by Stewart Marshall
F1 on a word in the source editor should take you to the appropriate help for the feature.