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 happens if null values are involved in expressions? : Sql dba

553


Is left join inner or outer by default?

515


What are the types of variable use in pl sql?

556


What is a join?

611


Explain clause in sql?

552






What is audit logout in sql profiler?

577


Why partition by is used in sql?

546


explain the options of myisamchk to improve the performance of a table. : Sql dba

533


What are aggregate functions in sql?

615


What is t sql in sql server?

562


what is the difference between myisam static and myisam dynamic? : Sql dba

572


How many disk partitions should I have?

536


What is pl sql record in oracle?

551


What is %rowtype in pl sql?

503


What is sqlexception in java?

532