home > 比較編 > JavaScript, Lua, Io > arithmetic and logic >

ForNext

Only Do What Only You Can Do

031. arithmetic truncation

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

VBScript

Perl

PHP

Python

Ruby

PowerShell

Scala

F#

C

C++

C++Builder

VC++

C#

Java

Objective-C

D

VB

VB.NET

Delphi

Ada

PL/SQL

T-SQL

関数型

inserted by FC2 system