c# - Please Explain this Convert.ToInt64 InputStringFormat Exception -


Can anyone tell me why:

  var nl = Convert.ToInt64 ( "17029268.1650117");  

Fails, and instead you have to:

  var nl = convert.ToInt64 (convert double ("17029268.1650117"));  

Because it sounds so stupid!

You should probably also use long time. Purse (ARR)

A long number is a whole number, so you can not be a tenth friend. (Tried to tell you on Twitter :))


Comments