Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rounding to nearest 0.05
Message
De
21/05/2018 11:26:17
 
 
À
21/05/2018 11:21:40
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2012
Divers
Thread ID:
01660219
Message ID:
01660224
Vues:
35
>>>
>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform