25.67,-1
Trunc = 20
Round= 30

HOW????

Answer Posted / gaurav

The TRUNC (n1, n2) function returns n1 truncated to n2 decimal places. If n2 is omitted, then n1 is truncated to 0 places. n2 can be negative to truncate (make zero) n2 digits left of the decimal point.

if you do it -2. answer will be zero in this case.

similar thing goes for round.It will become zero.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by field in sql?

537


What are the properties of a transaction?

564


How do you update a value in sql?

549


What is latest version of sql?

527


what are the nonstandard string types? : Sql dba

608






what are the limitations of mysql in comparison of oracle? Mysql vs. Oracle. : Sql dba

547


How many times can we commit in a loop?

566


What is the difference between nested table and varray?

523


Why cross join is used?

637


What are inbuilt functions in sql?

601


What does data normalization mean?

535


What is an inner join sql?

548


What is meant by truncate in sql?

525


How do I count records in sql?

518


What are the different types of sql commands?

599