PostgreSQL-compatible numeric format pictures for to_char/to_number.
PostgreSQL's numeric pictures are a small language rather than Java DecimalFormat patterns. Keeping the parser and both directions together is important: D/G, V, signs, fill mode, Roman numerals and quoted literals must mean the same thing when formatting and parsing.
PostgreSQL-compatible numeric format pictures for to_char/to_number. PostgreSQL's numeric pictures are a small language rather than Java DecimalFormat patterns. Keeping the parser and both directions together is important: D/G, V, signs, fill mode, Roman numerals and quoted literals must mean the same thing when formatting and parsing.
(parse-picture picture)Tokenize a PostgreSQL numeric format picture. Double-quoted regions are literal; a backslash only escapes characters while inside such a region, matching formatting.c's format parser.
Tokenize a PostgreSQL numeric format picture. Double-quoted regions are literal; a backslash only escapes characters while inside such a region, matching formatting.c's format parser.
(to-char value picture)Format a numeric value with a PostgreSQL numeric picture. Locale-sensitive tokens currently use the C-locale spellings, which is also what the regression campaign fixes with lc_numeric = C.
Format a numeric value with a PostgreSQL numeric picture. Locale-sensitive tokens currently use the C-locale spellings, which is also what the regression campaign fixes with lc_numeric = C.
(to-number input picture)Parse text according to a PostgreSQL numeric picture. The numeric parser is intentionally permissive about punctuation and spacing, as PostgreSQL's NUM_processor is; the picture determines decimal placement and V scaling.
Parse text according to a PostgreSQL numeric picture. The numeric parser is intentionally permissive about punctuation and spacing, as PostgreSQL's NUM_processor is; the picture determines decimal placement and V scaling.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |