Strange INT behavior

Blitz3D Forums/Blitz3D Beginners Area/Strange INT behavior

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Function ChopDown#(num#)
	If num < 0 Then
		Return Floor(Abs(num#))
	Else
		Return Floor(num#)
	EndIf
End Function

Function ChopUp#(num#)
	If num < 0 Then
		Return Ceil(Abs(num#))
	Else
		Return Ceil(num#)
	EndIf
End Function