|
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-
bounces@xxxxxxxxxxxx] On Behalf Of Raja Nama
Sent: donderdag 9 september 2010 8:28
To: rpg400-l@xxxxxxxxxxxx
Subject: Need to know how many integer positions are filled in a
variable
Dear All,
Let me explain through examples.
Let us say we have a variable WX of length 13,8.
If I have value 123.3567, I need no. of integer positions filled that
is 3.
If I have value 1009.78061, I need no. of integer positions filled
that
is 4.
Do we have any built in functions to do the same or simple logic will
do.
Regards
Reddy Raja Nama
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.