This is a discussion on hardcoded decimal point '.' within the pgsql Hackers forums, part of the PostgreSQL category; --> NUMERIC data type is hardcoded to use '.' as the decimal point. FLOATs are in fact hardcoded the same ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| NUMERIC data type is hardcoded to use '.' as the decimal point. FLOATs are in fact hardcoded the same way (they use strtod() and sprintf() while pgsql's LC_NUMERIC is always "C"). The only data type that localizes decimal point is MONEY. it makes many problems when the decimal point is not '.' (for example, ','). is it a bug or a feature? ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@postgresql.org so that your message can get through to the mailing list cleanly |