List Info

Thread: note 78431 added to function.ocicolumnprecision




note 78431 added to function.ocicolumnprecision
user name
2007-10-11 14:39:16
I've found that when using ocicolumnprecision or
oci_field_precision it will not show you the decimal places
if you are are reading from tables with decimals.  You can
use ocicolumnscale or oci_field_scale to find the decimal.

if( ocicolumnscale($R, $i ) > 0 )
{
    $int_decimal = ocicolumnscale($R, $i );
    $int_length = ocicolumnprecision($R, $i) -
$int_decimal;
}
----
Server IP: 69.147.83.197
Probable Submitter: 69.4.4.167
----
Manual Page -- http://www.php.net/manual/en/function.ocicolumnpreci
sion.php
Edit        -- https://master
.php.net/note/edit/78431
Del: integrated  -- h
ttps://master.php.net/note/delete/78431/integrated
Del: useless     -- http
s://master.php.net/note/delete/78431/useless
Del: bad code    -- htt
ps://master.php.net/note/delete/78431/bad+code
Del: spam        -- https:/
/master.php.net/note/delete/78431/spam
Del: non-english -- 
https://master.php.net/note/delete/78431/non-english
Del: in docs     -- http
s://master.php.net/note/delete/78431/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/78431
Reject      -- https://mast
er.php.net/note/reject/78431
Search      -- https://
master.php.net/manage/user-notes.php

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )