Re: manipulating NUMERIC values in C extension

From: Geoff Winkless <pgsqladmin(at)geoff(dot)dj>
To: John McKown <john(dot)archie(dot)mckown(at)gmail(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: manipulating NUMERIC values in C extension
Date: 2018-06-08 13:10:00
Message-ID: CAEzk6fceWBJ_iPWordKGNmyyYBxzi=kAEOVi6CCZnket=ZhHig@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 8 Jun 2018 at 13:44, John McKown <john(dot)archie(dot)mckown(at)gmail(dot)com> wrote:
> Have you considered the standard C library functions: "atoi()", "atof()", "atol()", and "atoll()" ?

Hi John

My issue wasn't so much how to get a number out of the string, rather
how to get that value back into a NUMERIC object to return back to the
server.

Thanks for taking the time to reply though, it's appreciated.

Geoff

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2018-06-08 13:27:28 Re: Can you make a simple view non-updatable?
Previous Message Geoff Winkless 2018-06-08 13:06:53 Re: manipulating NUMERIC values in C extension