home > 比較編 > Delphi, PL/SQL, T-SQL, Ada > arithmetic and logic >

ForNext

Only Do What Only You Can Do

025. convert string to number

VBScript

JScript

Perl

PHP

Python

Ruby

PowerShell

Scala

F#

C

C++

C++Builder

VC++

C#

Java

Objective-C

D

VB

VB.NET

Delphi

Pascal

uses sysutils;
7 + StrToInt('12')
73.9 + StrToFloat('.037')

Ada

PL/SQL

arithmetic operators automatically convert strings to numbers
cast('12' as int)
cast('3.14') as real)

T-SQL

関数型

inserted by FC2 system