Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
T-SQL logic
Message
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
T-SQL logic
Divers
Thread ID:
01373545
Message ID:
01373545
Vues:
52
Hi All,

I need to check if the number provided by user is breaking a hundred after rounding it up first. If that is a case it should be round down Ex:

User input = 249.99 ; Suggested number = 250
User input = 249.91 ; Suggested number = 250

User input 299.99 ; Suggested number = 299
User input 299.91 ; Suggested number = 299

Thank you,
Daniel
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform