Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Absolute value of a value
Message
De
10/11/2011 16:14:57
 
 
À
10/11/2011 16:12:16
John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01528610
Message ID:
01528615
Vues:
57
>Math.Abs(value)

I tried that but that is not the same as the VFP CInt() function. Math.Abs(0.39) would return the same value. There must be something I am missing here. I am looking for the 0 value here. As, everything between 0 to 0.99, I would like to obtain 0. So, would be from all values between 1 to 1.99 would return 1.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform