ForNext
Only Do What Only You Can Do
031. arithmetic truncation
Hyperpolyglot Interpreted Languages: Tcl, Lua, JavaScript, Io より (2012.05.08)
JavaScript
none Math.round(3.1) Math.ceil(3.1) Math.floor(3.1) Math.abs(-3)
Lua
none none math.ceil(3.1) math.floor(3.1) math.abs(-3)
Io
none 3.1 round 3.1 ceil 3.1 floor (-3) abs