Skip to content

Currency Symbol

Type Registry

Currency Symbol

identity.payment.currency_symbol

Unicode currency symbol character. Examples: $, €, £, ¥, ₹, ₩, ₿. Single character (or short sequence) representing a currency.

Domain identitypayment
Casts to VARCHAR
Scope Universal

Try it

CLI
$ finetype infer -i "$"
→ identity.payment.currency_symbol

DuckDB

Detect
SELECT finetype('$');
-- → 'identity.payment.currency_symbol'
Cast expression
CAST({col} AS VARCHAR)
Safe cast pipeline
-- Normalise and cast in one step
SELECT TRY_CAST(finetype_cast(my_column) AS VARCHAR) AS clean_value
FROM my_table
WHERE finetype(my_column) = 'identity.payment.currency_symbol';

JSON Schema

finetype schema identity.payment.currency_symbol
{
  "$id": "https://noon.sh/schemas/identity.payment.currency_symbol",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Unicode currency symbol character. Examples: $, €, £, ¥, ₹, ₩, ₿. Single character (or short sequence) representing a currency.",
  "examples": [
    "$",
    "€",
    "£",
    "¥",
    "₹",
    "₩",
    "₿"
  ],
  "pattern": "^[\\p{Sc}]+$",
  "title": "Currency Symbol",
  "type": "string"
}

Examples

$£¥

Also known as

currency_sign

Types in identity