This is a migrated thread and some comments may be shown as answers.

Bug??

1 Answer 15 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 1
Joe asked on 30 Jul 2013, 02:56 PM
Double x = 3.5;
Int32 j = (int)x;
  
The above produces the following. I believe you need to include Truncate since CInt rounds.
  
Dim x As [Double] = 3.5
Dim j As Int32 = CInt(x)

 
BTW
I hope this forum alerts with e-mail if there is a reply!
Maybe that is what the "Subscribe.." checkbox does but I'm not sure what that means (keep it simple).

1 Answer, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 01 Aug 2013, 07:46 AM
Hello,

Thank you for your feedback. We will further investigate the aforementioned behavior and provide a fix if there is a need.

Regards,
Kaloyan
Telerik
Tell us what you think about JustDecompile. Your opinion matters! You can use our forum, or our JustDecompile UserVoice website for feature requests.
Tags
General Discussions
Asked by
Joe
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Share this question
or