Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Mathmatical Functions

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-06-21 : 08:20:25
Dalbir Bansal writes "Is the any way I can round up figures?

i.e. I have a figure of 0.684 that I want as 0.69

Thanks"

Page47
Master Smack Fu Yak Hacker

2878 Posts

Posted - 2002-06-21 : 08:25:46

declare @number decimal(3,3)
set @number = 0.684
select (ceiling(@number * 100))/100


<O>
Go to Top of Page
   

- Advertisement -