Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculate 3 EZ Pay
Message
De
23/10/2008 10:33:33
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
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:
01356593
Vues:
25
>Simple for you (-: ... Thank you that is exactly what I needed...
>
>Now I have to figure out how to get the Integer from a Decimal in VB.NET. I tried the following but it is rounding off my number:
>Ex
>
>myDecimal = 599.99
>
>myInteger = Convert.ToInt32(myDecimal) ' returns 600
>myInteger = myDecimal \ 1 ' returns 600
>
>Daniel

Look at Math.Floor()
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform