Arent you saying xil and mm are integer (int32) thus passing it to trunc() which returns int64 is a waste of time ? If xil and mm are int64 then the conversion to int() is a waste of time or am I missing something
Both Trunc and Int take a floating point number and round it towards zero. The difference is that Trunc returns an Integer and Int returns an Extended. That makes calling Int before Trunc... silly at best.
Arent you saying xil and mm are integer (int32) thus passing it to trunc() which returns int64 is a waste of time ? If xil and mm are int64 then the conversion to int() is a waste of time or am I missing something
ReplyDeleteBoth Trunc and Int take a floating point number and round it towards zero. The difference is that Trunc returns an Integer and Int returns an Extended. That makes calling Int before Trunc... silly at best.
ReplyDeleteOh good we all agree then
ReplyDelete