Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 query optimization?

1005


What is difference between cursor and trigger?

1083


Explain normalization and what are the advantages of it?

953


What is orm in sql?

1052


What is file based approach?

945


what are rollup and cube in t-sql? : Transact sql

1102


tell us something about heap tables. : Sql dba

1101


Explain the insert into statements in sql?

1010


What is a pdo connection?

1045


When sql appeared?

1103


explain about mysql and its features. : Sql dba

1019


What is the need of a partition key?

987


How do you update a value in sql?

1047


What is t sql used for?

1017


What programs use sql?

1013