|
Thanks Brad!
I didn't even consider DECEDIT h-spec..
Charles
On Fri, Sep 20, 2019 at 8:14 AM B Stone <bvstone@xxxxxxxxx> wrote:
Try adding:ability
H DECEDIT('0.')
Then you can use:
yajl_addNum('number': %char(number));
Bradley V. Stone
www.bvstools.com
MAILTOOL Benefit #13 <https://www.bvstools.com/mailtool.html>: The
to use an IFS stream file as the body of the email (either text or html).
On Fri, Sep 20, 2019 at 9:09 AM Charles Wilt <charles.wilt@xxxxxxxxx>
wrote:
All,sign?
I am admittedly very rusty with edit codes and edit words, %char() is
usually all I every need.
Just to make sure I'm not missing something...
There doesn't appear to be an edit code that will give me
- left hand negative sign
- lead zero if number less than 1.00
packed(5:2) examples
"-0.95"
"-2.25"
"0.55"
"5.23"
Also, it doesn't appear that EDITW supports a left hand side negative
Lastly, doesn't appear SQL can do it either...
Guess I'll need an alternative for a valid JSON number...
Thanks!
Charles
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.