Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem Computing Ratio
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Problem Computing Ratio
Divers
Thread ID:
01469550
Message ID:
01469550
Vues:
94
I'm stuck on this tonight. Too much wine while coding.
double ratio = Math.Floor((double)Whse1Qty * (1 / (double)Ratio));
Whse1Qty = 2 and Ratio = 10. This always returns 0.

What's wrong here?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform