× 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.



On 2015-04-13 18:01, Hoteltravelfundotcom wrote:
HI I Have to move a data value (weight of an item) which is char 11 into a
numeric 7 02
field.


Is it possible that the character value represents a value with decimal places? If so, what does it look like?

If a value like '12345' actually means 123.45, then %DEC won't work by itself. You'd have to multiply the result by 0.01.

But if a value with decimal places is something like '123.45', and a value like '12345' means 12345, then %DEC will work fine.

If the character value might have more than two decimal places, say '123.459', then you should use %DECH to get it rounded to 123.46.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.