× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



If this is a numeric field, the comma/dot is not stored inside the data of the field, anyway, so this is a non-issue.

If this is a character field, you can simply do this:

   field = %scanrpl(',':'':field);

   field = %scanrpl('.':',':field);

The first %scanrpl removes the commas that US (and others) use as thousands separators.  The second one translates the dots into commas.

On 10/18/23 12:34 PM, gio.cot via RPG400-L wrote:
Hi all

I'm developing an RPGLE application for Zebra PDA TC26; as Zebra numeric
keyboard , have decimal point (in the view together to number) , i would
like to let the user , enter number with dot to separate decimal values also
if normally we use comma to indicate the decimals in a number.

For example : in the DSPF , user enter 1234.56 that from DB is 1234,56 (4
integers and two decimals) ;

how could i solve this matter ? i asked to Zebra assistance for change dot
to comma in the numeric keyboard, but they told me that the only way i sto
configure another keyborad and is not too easy ..

any other had e similar problem?

Thanks in advance


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.