Closed barissaydag closed 7 years ago
Hi,
Thanks for the issue report.
Yes atoi
/atof
don't have same behavior than int.Parse()
/double.Parse()
. Normally I was implemented these functions perhaps I missed use them.
I need two things for the test:
Regards,
I am soooo sorry, I completely forgot responding you. Yet I was checking Nuget for updates and bug fixes! I uploaded files...
Thanks again for your help.
No problem, this happen to me :)
I'll try to fix some bugs (#29, #30) this WE.
This issue if fixed with the 2.6.0.23 version.
I confirm that it is fixed. Thanks!
Hi,
I think atoi and int.Parse functions are implemented differently in C and C#. C# doesn't like to parse empty strings, and doesn't stop when it sees space. Therefore, I am getting invalid number exception in load_dpsi_deps. I worked around with below (crude) changes:
double.Parse(s.Substring(99), ...
todouble.Parse(s.Substring(99, 8).Trim() == "" ? "0" : s.Substring(99, 8).Trim(), ....
Here are the full changes: