PostgreSQL: función to_number


            
                
            
         SELECT
    TO_NUMBER(
        '12,345.6-',
        '99G999D9S'
    );Code language: JavaScript (javascript)
Outrageous Osprey