cfqueryparam, numeric with decimal problem comma!

Hello everyone,

After the lobby day and night without finding a solution, I turn on the forum for help. As a value for a cfquery Insert, I use this among others: < cfqueryparam value = "" #p.PAskPrice # "cfsqltype ="cf_sql_numeric"/ >,."

(P.PAskPrice) values from an xml file that has stored numbers with separators decimal comma (you see, that's the Greece - European language) and I get the error invalid data for CFSQLTYPE CF_SQL_NUMERIC 0.00. How can I inform the validator cf_sql_numeric separator is valid? Any help would be appreciated.

Thanks in advance,

Yannis

You can't, there is sql. use lsParseNumber on the value to insert:

Although I guess be thorough, try to set the locale (setLocale ("el_GR")) to

This page. pretty sure it wont but might as well test.

also for my own curiosity, which is the locale of the server?

Tags: ColdFusion

Similar Questions

Maybe you are looking for