Navigation:  ActFX > Algorithmic Trading > Appendix >

Data Type Conversion Functions

Previous pageReturn to chapter overviewNext page

function IntToStr(i: Integer): String

Converts an integer into a string

function FloatToStr(e: Extended): String

Converts a fractional number into a string

function DateToStr(e: Extended): String

Converts a date into a string

function TimeToStr(e: Extended): String

Converts time into a string

function DateTimeToStr(e: Extended): String

Converts date and time into a string

function StrToInt(s: String): Integer

Converts a string into an integer

function StrToFloat(s: String): Extended

Converts a string into a fractional number

function StrToDate(s: String): Extended

Converts a string into a date

function StrToTime(s: String): Extended

Converts a string into time

function StrToDateTime(s: String): Extended

Converts a string into date and time

function StrToColor(const HexRGB: String): TColor

Converts a string into color