Floating Math Problem

BlitzMax Forums/BlitzMax Programming/Floating Math Problem

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.

Well... you can always add your own I guess...

Function Round:Int(flt:Float)
	If flt - Int(flt) >= 0.5 Then
		Return Int(flt) + 1
	else
		Return Int(flt)
	endif
End Function


Add a mod for it. :)