Quantcast
Channel: int.Parse oddity
Viewing all articles
Browse latest Browse all 15

int.Parse oddity

$
0
0

See my previous post... I am using that particular workaround... But parsing is something very specific: you have a string representation of something (a number in my case), in a somewhat known format (a dollar amount in my case) that you want to see represented as that particular something.

If I can parse this to int

"77,50050"

(a string whose formatting isn't even a valid number)

why can't I parse this

"77,500.50"

just because of the decimal point...

Anyway, it's probably time to close this discussion. I have a working solution, so end of story I guess.

Thanks to everyone for their input,

SA.


Viewing all articles
Browse latest Browse all 15

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>