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



I am converting an alphanumeric value to floating point and then I am
converting the floating point to decimal. 

The character field I need to convert always has a decimal followed by 4
numbers. I don't know of any other way to convert an alphanumeric field
and have the 4 decimal point precision.

 

message: 2

date: Wed, 9 Mar 2005 14:43:19 -0600

from: "Bob Cozzi" <cozzi@xxxxxxxxx>

subject: RE: Convert Float to Dec

 

First, why bother moving it into floating point? Why not go directly to
decimal?

Eval DecPrice = FltPrice

 

Second, for ATOF to work, you need the "E" embedded after the value.

"2.2134E0" or something like that.

-Bob

 

 

 


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.