Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rounding to nearest 0.05
Message
From
21/05/2018 11:26:17
 
 
To
21/05/2018 11:21:40
Antonio Lopes (Online)
BookMARC
Coimbra, Portugal
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2012
Miscellaneous
Thread ID:
01660219
Message ID:
01660224
Views:
34
>>>
>>>Inline in a Select statement:
>>>
>>>
>>>SELECT ROUND(17.08 / 0.05) * 0.05
>>>
>>
>>Thanks very much Antonio!
>
>Ooops... this should be
>
>
>SELECT ROUND(17.08 / 0.05, 0) * 0.05
>
>
>(sorry, but it was alright as a function).

No worries, I worked that part out :)
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Reply
Map
View

Click here to load this message in the networking platform