Casting

From: Thomas SMETS <tsmets(at)altern(dot)org>
To: psql novice <pgsql-novice(at)postgresql(dot)org>, psql sql <pgsql-sql(at)postgresql(dot)org>
Subject: Casting
Date: 2001-01-05 00:31:26
Message-ID: 3A5515DE.52F2DB7B@altern.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice pgsql-sql

Hi,

In pgsql

I'm removing charaters from a String which should be numbers.
I then want to make calculations on these numbers (calculate the ISBN
number).

Do I have to cast the char into int's before I can do the calulations.

Also I looked in the User manual but could not find the modulo function
where is it ?

tx,

Thomas,

--
Thu Jan 4 20:19:03 CET 2001

Thomas SMETS e-mail : tsmets(at)altern(dot)org
Av. de la Brabançonne 133 / 3 Tel. : +32 (0)2 742. 05. 94.
1030 Bruxelles
======= Quote of the Day =========
Jealousy is all the fun you think they have.
========= End of Quote ===========

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Thomas SMETS 2001-01-05 00:35:04 Debugging ?
Previous Message Fernando M. Maresca 2001-01-05 00:20:48 Re: well, this is a newbie list...

Browse pgsql-sql by date

  From Date Subject
Next Message Thomas SMETS 2001-01-05 00:35:04 Debugging ?
Previous Message Peter Eisentraut 2001-01-04 23:14:29 Re: psql -f option