How to know the type of an expression ?
How to know the type of an expression ?
От:
maa1666@yahoo.fr
Дата:
Is there a means to know the type of an expression ? Something like a "typeof" function ? As I work a lot with numbers of type "numeric", I often want to know the precision of the result returned by an expression, in case the returned result is "numeric". I would also like to know if numbers of type "numeric" have not been silently converted to "double precision" somewhere in the expression. Best regards Nicolas Riesch
Re: How to know the type of an expression ?
От:
"Albe Laurenz" <all@adv.magwien.gv.at>
Дата:
> Is there a means to know the type of an expression ? > Something like a "typeof" function ? > > As I work a lot with numbers of type "numeric", I often want to know > the precision of the result returned by an expression, in case the > returned result is "numeric". > I would also like to know if numbers of type "numeric" have not been > silently converted to "double precision" somewhere in the expression. Which API are you using? Yours, Laurenz Albe