Fix float value determining bug
Add argument passing support when using Ruby procs as callback functions