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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Number Class<br />

round()<br />

setNull()<br />

shift()<br />

Parameters<br />

digits<br />

The number of digits of precision.<br />

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

provided by the parameter specified.<br />

Syntax<br />

const Number round(int decplace) const;<br />

Parameters<br />

decplace<br />

The number of digits to the right of the decimal point.<br />

This method sets the value of the Number object to null.<br />

Syntax<br />

void setNull();<br />

This method returns the Number object multiplied by 10 to the power provided by<br />

the parameter specified.<br />

Syntax<br />

const Number shift(int val) const;<br />

Parameters<br />

val<br />

An integer value.<br />

8-122 <strong>Oracle</strong> <strong>C++</strong> <strong>Call</strong> <strong>Interface</strong> Programmer’s <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!