Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grid

Status
Not open for further replies.

topci

Programmer
May 6, 2005
16
SI
Hi,
What is the best way to convert data from ASCII file (numeric) into currency or float (and write him into SQL table)? Some user have different regional settings (point, comma, ...)?

Please, I need some tip....

Tnx, DaT
 


Hi,

If you are converting a string of numeric characters to a numeric variable, take a look at Type Conversion Functions like cDbl,

Skip,
[sub]
[glasses] [red]Sign above the facsimile apparatus at the music publisher:[/red]
If it ain't baroque...
Don't FAX it![tongue][/sub]
 
I know about this function Cdbl (and other functions), but I have problem, while some regional settings have different type (comma is sometimes like separator, sometimes like digit grouping symbol). I need to have "little function", which "translate" a reading string into real double format....

Tnx, DaT
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top