Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculate 3 EZ Pay
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Calculate 3 EZ Pay
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01356419
Message ID:
01356419
Vues:
60
All,

Given the user input being the numeric value between 249.99 and 999.94 with 2 decimal places and always ending in .99 I have to return a number that is evenly divisible by 3 with up to 2 decimals.

Example:

User enters 599.99 and I have to display that he needs to use 599.97.

Any idea how to code it in VB.NET or T-SQL?

thank you,
Daniel
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform