Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting number to string representation
Message
De
28/04/2009 09:33:26
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
28/04/2009 00:50:03
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01396542
Message ID:
01396662
Vues:
54
>>I've found an example elsewhere, and modified a bit to fit my needs. See comments for original source and modifications:
>
>I have tried it.
>
>I see you have resolved the spacing issue.
>
>I would need to see about adjusting for the proper casing. I also need to adjust it a little bit to support the decimals, in numeric however, so to complete such a function for paychecks for example.
>
>However, can you try it with 1234.56 and you will see that it would give 1235 instead of 1234. I had the same issue with the other code. There is some kind of rounding that I need to avoid.

Michel, for my needs I don't need decimal parsing. That's why I set the parameter to accept only long. The casing issue would be easy enough to remedy by changing the casing in the code.
Very fitting: http://xkcd.com/386/
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform