Re: TRUNC equivalent to return the decimal part?

From: Mark Stratford <mark_stratford98_at_yahoo.co.uk>
Date: 10 Apr 2003 02:34:32 -0700
Message-ID: <690213b6.0304100134.4c17d416_at_posting.google.com>


> Is there any function in SQL that is like TRUNC that returns just the decimal portion?

> > I know that it's possible to do this with either of the following:
> > 1. decimal = number - trunc(number)

I don't think there is a built-in (at least not up to & incl 8i). You'll just have to do the subtraction which you suggested. It's not that ugly. Received on Thu Apr 10 2003 - 11:34:32 CEST

Original text of this message