10.12.2012 Views

Oracle C++ Call Interface Programmer's Guide

Oracle C++ Call Interface Programmer's Guide

Oracle C++ Call Interface Programmer's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

operator unsigned long()<br />

operator unsigned short()<br />

power()<br />

prec()<br />

Syntax<br />

operator unsigned int() const;<br />

Number Class<br />

This method returns the value of the Number object converted to a native unsigned<br />

long.<br />

Syntax<br />

operator unsigned long() const;<br />

This method returns the value of the Number object converted to a native unsigned<br />

short integer.<br />

Syntax<br />

operator unsigned short() const;<br />

This method returns the value of the Number object raised to the power of the<br />

value provided by the parameter specified.<br />

Syntax<br />

const Number power(const Number &val) const;<br />

Parameters<br />

val<br />

The number to whose power this number has to be raised.<br />

This method returns the value of the Number object rounded to the digits of<br />

precision provided by the parameter specified.<br />

Syntax<br />

const Number prec(int digits) const;<br />

OCCI Classes and Methods 8-121

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!