Modifying Numeric Values

MODIFYING NUMERIC VALUES

INT function – is used to convert numeric values with decimal places to integer values. It simply discards decimal places.

INT

Round function – is used to round numeric values to the nearest specified unit.

General form –

ROUND ( argument, n, <delimiters>)

where, argument = numeric,constant or expression,

round-off-unit  = numeric and non-negative. Decimal is counted in this value. If round off unit is not provided, it is assumed to be                1 and the argument is rounded off to the nearest integer.

round

 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s